Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

zhpenn

macrumors regular
Original poster
Aug 27, 2014
240
100
I read it but you should post pics like the last one.
I did video record the process, just not clear enough to post out, but I can upload if needed
Screen Shot 2020-01-31 at 10.50.11 am.png

I can see the icon on the menubar RAM usage is not filled up ram at all, the screenshot in end is doing the same task, which is the same thing.
 
Last edited:

AidenShaw

macrumors P6
Feb 8, 2003
18,667
4,677
The Peninsula
(Base on the monitoring APP, the RAM is not fully filled even on 4x32g)
Which APP ?

Note that many memory monitoring apps do not count file system caches as "memory in use", since it will be released if processes request more memory. You might have a much larger file cache with the extra memory.
 

zhpenn

macrumors regular
Original poster
Aug 27, 2014
240
100
Which APP ?

Note that many memory monitoring apps do not count file system caches as "memory in use", since it will be released if processes request more memory. You might have a much larger file cache with the extra memory.
iStat Menu and Activity monitor, but I will try the ramdisk to limit ram and see the result
 

defjam

macrumors 6502a
Sep 15, 2019
795
735
I did video record the process, just not clear enough to post out, but I can upload if needed
View attachment 891457
I can see the icon on the menubar RAM usage is not filled up ram at all, the screenshot in end is doing the same task, which is the same thing.
It would be helpful to know exactly what it is you're doing when you take the pictures. If you are performing a conversion of 309 RAW files to 8-bit TIFF files then your SSD I/O seems extremely low. A read speed of 6KB/sec and a write speed of 16.7MB/sec doesn't seem to match the type of work being done. I would expect much higher numbers than this. The files being cached in memory could explain the low numbers.
 

zhpenn

macrumors regular
Original poster
Aug 27, 2014
240
100
It would be helpful to know exactly what it is you're doing when you take the pictures. If you are performing a conversion of 309 RAW files to 8-bit TIFF files then your SSD I/O seems extremely low. A read speed of 6KB/sec and a write speed of 16.7MB/sec doesn't seem to match the type of work being done. I would expect much higher numbers than this. The files being cached in memory could explain the low numbers.
when I'm taking this screenshot is in the middle of exporting TIFF, but one RAW file is just 30-40mb, even realtime reading from SSD and writing to SSD will not have very high read and write speed.
the number Read and Write is keep changing during exporting
sometimes R14 W 20
sometimes R20, W150
sometimes R 200, W120
sometimes R 0, W0
 
Last edited:

zhpenn

macrumors regular
Original poster
Aug 27, 2014
240
100
Maybe use this command to adjust the amount of RAM the system can use....

Example... set RAM size to 8 GB
sudo nvram boot-args="maxmem=8192"
and then reboot

To reset RAM to what is physically available then....
sudo nvram -d boot-args
and then reboot

However, I'm unsure how setting "maxmem" to less than what is physically installed influences how much of each DIMM is used to accomplish this.
 
Last edited:

defjam

macrumors 6502a
Sep 15, 2019
795
735
when I'm taking this screenshot is in the middle of exporting TIFF, but one RAW file is just 30-40mb, even realtime reading from SSD and writing to SSD will not have very high read and write speed.
the number Read and Write is keep changing during exporting
sometimes R14 W 20
sometimes R20, W150
sometimes R 200, W120
sometimes R 0, W0
I would think that batch processing 309 files of approximately 30-40MB each at 28 files at a time (the number of cores) would consume more than 6KB/sec from the SSD. At 6KB/sec one 30MB file would take slightly more than 1 hour and 40 minutes to read. Is the system really taking this long to read one file? Obviously not so the measurement is in question.

At 16.7MB/sec one 30MB file would take approximately 1.8 seconds to write. This is more in line with what might be expected. Even so it is significantly slower than any performance difference offered by a four versus six channel memory configuration. I wouldn't expect there to be any difference in completion time based on memory channel configuration because the, relatively speaking, slow I/O times nullify it. IOW a process is only as fast as the slowest step.

So how do we account for these results? One possibility is the files aren't being read / written to the SSD but rather to memory. During the export the I/O is performed from and to a memory cache (managed by the OS). The OS can, at its leisure, write the files out to the SSD according to whatever algorithm it is using.

Is the above the explanation? I cannot say for certain. But it's something to consider. One way we may be to test this theory is to run the test again with the two different memory configurations and see if the I/O speeds increase. 16.7MB/sec is significantly below the capability of the internal SSD. If a memory cache is being used to improve performance then I would expect the 128GB configuration to see an increase in I/O compared to the 192GB configuration.
 

yurc

macrumors 6502a
Aug 12, 2016
835
1,014
inside your DSDT
I have done kind of test in past, but with 5,1.

X58 was triple channel but it has four/eight DIMM slots.
When only triple sticks used, Geekbench score was higher about 10-20% compared with all slots fully allocated.
 

defjam

macrumors 6502a
Sep 15, 2019
795
735
I have done kind of test in past, but with 5,1.

X58 was triple channel but it has four/eight DIMM slots.
When only triple sticks used, Geekbench score was higher about 10-20% compared with all slots fully allocated.
The OP did perform GB benchmarks which showed an 8.36% increase when using six channels instead of four. This is what one would expect from a synthetic benchmark. However in most real world applications one typically doesn't see any increase in performance let alone an 8.36%. This is one reason I dislike using GB for anything other than how fast a system runs GB.

However, in this case the OP observed a 39.2% increase in a real world application. This is highly suspect because of its magnitude in a real world application use case and that it is significantly higher than a synthetic benchmark (which tends to best illustrate a change).
 

yurc

macrumors 6502a
Aug 12, 2016
835
1,014
inside your DSDT
The OP did perform GB benchmarks which showed an 8.36% increase when using six channels instead of four. This is what one would expect from a synthetic benchmark. However in most real world applications one typically doesn't see any increase in performance let alone an 8.36%. This is one reason I dislike using GB for anything other than how fast a system runs GB.

However, in this case the OP observed a 39.2% increase in a real world application. This is highly suspect because of its magnitude in a real world application use case and that it is significantly higher than a synthetic benchmark (which tends to best illustrate a change).


Well, actually I not fond of short-burst benchmarking measure such a Geekbench too…

Just to adding comparison with older system and backing OP statements, literally with correct channel memory setup most of all synthetic benchmark would gave improvements. If they can helped with OP real usage workflow and increase performance, that’s win-win situation.

I don’t use Lightroom and doesn’t feels any difference either with baller and correct channel setup in my real usage due different type of works, but it not hurt to keep my machine in higher state with highest benchmark, although eventually I choose the latter due this was old machine, I prefer more memory capacity rather than small increments gain.
 

defjam

macrumors 6502a
Sep 15, 2019
795
735
Well, actually I not fond of short-burst benchmarking measure such a Geekbench too…

Just to adding comparison with older system and backing OP statements, literally with correct channel memory setup most of all synthetic benchmark would gave improvements. If they can helped with OP real usage workflow and increase performance, that’s win-win situation.
The question is: Is it noticeably helping out in real world usage workflow? Since all other factors weren't held constant we cannot conclusively say. Especially when the conclusion is well beyond what a synthetic benchmark, which is known to benefit from such configurations, is able to achieve.

If the OP had configured the system with six modules which resulted in the same memory capacity as the four module configuration then I think it reasonable to conclude the memory channel configuration is what resulted in the increased performance.

However that was not the case. The amount of memory increased by 64GB. This increase in memory capacity could be the reason for the increase in performance. Perhaps, with 56 threads chewing through 309 images of 30 - 40MB each, the task benefitted from caching (made possible with an additional 64GB of memory to work with).
 

Snow Tiger

macrumors 6502a
Dec 18, 2019
854
634
n
The question is: Is it noticeably helping out in real world usage workflow? Since all other factors weren't held constant we cannot conclusively say. Especially when the conclusion is well beyond what a synthetic benchmark, which is known to benefit from such configurations, is able to achieve.

If the OP had configured the system with six modules which resulted in the same memory capacity as the four module configuration then I think it reasonable to conclude the memory channel configuration is what resulted in the increased performance.

However that was not the case. The amount of memory increased by 64GB. This increase in memory capacity could be the reason for the increase in performance. Perhaps, with 56 threads chewing through 309 images of 30 - 40MB each, the task benefitted from caching (made possible with an additional 64GB of memory to work with).

What extended workflow process would be a good test then of determining the real world influence of memory bandwidth , with various memory configurations ? Everything else being held the same . Assuming short term synthetic benchmarks are not useful in the real world ?
 

AidenShaw

macrumors P6
Feb 8, 2003
18,667
4,677
The Peninsula
What extended workflow process would be a good test then of determining the real world influence of memory bandwidth , with various memory configurations ? Everything else being held the same . Assuming short term synthetic benchmarks are not useful in the real world ?
Your workflow.
 

defjam

macrumors 6502a
Sep 15, 2019
795
735
What extended workflow process would be a good test then of determining the real world influence of memory bandwidth , with various memory configurations ? Everything else being held the same . Assuming short term synthetic benchmarks are not useful in the real world ?
As Aiden stated the workflow that you use. In the OPs case their workflow improved by almost 40% with the additional memory. However I think it's premature to conclude the increase was due solely to the increased memory bandwidth.
 

zhpenn

macrumors regular
Original poster
Aug 27, 2014
240
100
I have done a new test, will post it in few mins
 
Last edited:

zhpenn

macrumors regular
Original poster
Aug 27, 2014
240
100
UPDATE on Fab 2, 2020,
To further experiment of whether is just benefits from the extra 2 channel or it also benefits from an extra 64GB of RAM.
I have done the following test.
I have use this command line to Create a 64GB of RAMDISK,

diskutil erasevolume HFS+ “RamDisk64GB” $(hdiutil attach -nomount ram://131072000)

And Fill it up with about 50GB of files
To be more "TOUGH" to the new 6 Chanel of the test.
I create another 64GB of RAMDISK II
And fill it up with a similar 50GB of file. which "takes 100GB of RAM away"



Screen Shot 2020-02-02 at 5.06.01 pm.png



Then the same test of the RAW to TIF export AGAIN


Screen Shot 2020-02-02 at 5.11.32 pm.png



I can feel a little bit laggy using the mouse than before during exporting.

BUT, the result is almost the same!

4x32g RAM (with 128GB RAM available)

It takes 6:34 = 394s

6x32g RAM (with 192GB RAM avalible)

It takes 4:43 = 283s

6x32g RAM (with about just 92GB RAM available)
It takes 4:49 = 290s

It just 7 seconds more than before, and with
Even less RAM than the 4x32GB, THE 6 CHANEL STILL HAS a 39% percent performance increase.

And BTW, I have also given the RAMDISK a speed test

Screen Shot 2020-02-02 at 5.13.25 pm.png


4700MB/S Read
4550MB/S Write


I know the test is not very professional, but it really reflects the real-world performance increase.
 
  • Like
Reactions: libertyranger10

libertyranger10

macrumors regular
Jun 10, 2011
130
16
UPDATE on Fab 2, 2020,
To further experiment of whether is just benefits from the extra 2 channel or it also benefits from an extra 64GB of RAM.
I have done the following test.
I have use this command line to Create a 64GB of RAMDISK,

diskutil erasevolume HFS+ “RamDisk64GB” $(hdiutil attach -nomount ram://131072000)

And Fill it up with about 50GB of files
To be more "TOUGH" to the new 6 Chanel of the test.
I create another 64GB of RAMDISK II
And fill it up with a similar 50GB of file. which "takes 100GB of RAM away"



Screen Shot 2020-02-02 at 5.06.01 pm.png



Then the same test of the RAW to TIF export AGAIN


Screen Shot 2020-02-02 at 5.11.32 pm.png



I can feel a little bit laggy using the mouse than before during exporting.

BUT, the result is almost the same!

4x32g RAM (with 128GB RAM available)

It takes 6:34 = 394s

6x32g RAM (with 192GB RAM avalible)

It takes 4:43 = 283s

6x32g RAM (with about just 92GB RAM available)
It takes 4:49 = 290s

It just 7 seconds more than before, and with
Even less RAM than the 4x32GB, THE 6 CHANEL STILL HAS a 39% percent performance increase.

And BTW, I have also given the RAMDISK a speed test

Screen Shot 2020-02-02 at 5.13.25 pm.png


4700MB/S Read
4550MB/S Write


I know the test is not very professional, but it really reflects the real-world performance increase.

So 6 channel ram is needed to really increase performance!
 

defjam

macrumors 6502a
Sep 15, 2019
795
735
UPDATE on Fab 2, 2020,
To further experiment of whether is just benefits from the extra 2 channel or it also benefits from an extra 64GB of RAM.
I have done the following test.
I have use this command line to Create a 64GB of RAMDISK,

diskutil erasevolume HFS+ “RamDisk64GB” $(hdiutil attach -nomount ram://131072000)

And Fill it up with about 50GB of files
To be more "TOUGH" to the new 6 Chanel of the test.
I create another 64GB of RAMDISK II
And fill it up with a similar 50GB of file. which "takes 100GB of RAM away"






Then the same test of the RAW to TIF export AGAIN





I can feel a little bit laggy using the mouse than before during exporting.

BUT, the result is almost the same!

4x32g RAM (with 128GB RAM available)

It takes 6:34 = 394s

6x32g RAM (with 192GB RAM avalible)

It takes 4:43 = 283s

6x32g RAM (with about just 92GB RAM available)
It takes 4:49 = 290s

It just 7 seconds more than before, and with
Even less RAM than the 4x32GB, THE 6 CHANEL STILL HAS a 39% percent performance increase.

And BTW, I have also given the RAMDISK a speed test



4700MB/S Read
4550MB/S Write


I know the test is not very professional, but it really reflects the real-world performance increase.
I'm not really sure how this conclusively makes the case the speed gain is solely from using a six channel memory configuration. Merely creating a RAM disk and populating it with information doesn't really say much.

IMO the only way to conclusively show a six channel memory configuration is 39% faster than a four channel memory configuration is to hold all other variable constant. IOW configure equal amounts of memory: One in a four memory channel configuration and one in a six channel memory configuration.
 

zhpenn

macrumors regular
Original poster
Aug 27, 2014
240
100
I'm not really sure how this conclusively makes the case the speed gain is solely from using a six channel memory configuration. Merely creating a RAM disk and populating it with information doesn't really say much.

IMO the only way to conclusively show a six channel memory configuration is 39% faster than a four channel memory configuration is to hold all other variable constant. IOW configure equal amounts of memory: One in a four memory channel configuration and one in a six channel memory configuration.
configure equal amounts of memory: One in a four memory channel configuration and one in a six channel memory configuration?

With no mix size DIMMs, Well, This is mathematical question.
The formula is
4x = 6y
8gb*6? 16gb*4? They will not be equal.
I there is no such size DIMMs exist

If not exist, the closest way to prove is to use other way to limit the ram that can be used, which is why I use Ramdisk to limit the avaliable ram.

do you have any suggestions?
 

defjam

macrumors 6502a
Sep 15, 2019
795
735
configure equal amounts of memory: One in a four memory channel configuration and one in a six channel memory configuration?

With no mix size DIMMs, Well, This is mathematical question.
The formula is
4x = 6y
8gb*6? 16gb*4? They will not be equal.
I there is no such size DIMMs exist

If not exist, the closest way to prove is to use other way to limit the ram that can be used, which is why I use Ramdisk to limit the avaliable ram.

do you have any suggestions?
You are correct in that it is impossible to configure a four and six channel configuration with the same memory capacity. The best you could do is attempt to configure the system as close in capacity as possible.

Since the theory is the speed gain could be the result of memory caching the configuration would be such as to minimize it if possible. If I recall correctly the reference configuration was 128GB (4 x 32GB = 128GB). Thus for a six channel configuration you would configure 96GB (6 x 16GB = 96GB). If the six channel configuration was still 39% faster that strongly suggest caching isn't the reason for the gain.

Of course we could always go the other way and configure a four channel configuration with more than 192GB. The closest we could configure is 256GB (4 x 64GB = 256GB), If caching were the reason I would expect to see little, if any, increase in speed with the additional memory.

None of these are ideal but I would be willing to concede six channels is 39% faster if a 96GB six channel configuration equals the speed of a six channel 192GB configuration.
 

bxs

macrumors 65816
Oct 20, 2007
1,151
529
Seattle, WA
For me, the best way to test memory bandwidth comparing number of memory channels being employed is as follows...

Using 32 GB R-DIMMs (as that is what I have)

1 Memory Chanel used
  1. Place 32GB R-DIMMs in slot 5 & 8
  2. Run STREAM to obtain best memory bandwidth
2 Memory Chanels used
  1. Place 32GB R-DIMMs in slot 3, 5, 8 & 10
  2. Run STREAM to obtain best memory bandwidth
3 Memory Chanels used
  1. Place 32GB R-DIMMs in slot 1, 3, 5, 8, 10 & 12
  2. Run STREAM to obtain best memory bandwidth
4 Memory Chanels used
  1. Place 32GB R-DIMMs in slot 1, 3, 5, 6, 7, 8, 10 & 12
  2. Run STREAM to obtain best memory bandwidth
5 Memory Chanels used
  1. Place 32GB R-DIMMs in slot 1, 3, 4, 5, 6, 7, 8, 9, 10 & 12
  2. Run STREAM to obtain best memory bandwidth
6 Memory Chanels used
  1. Place 32GB R-DIMMs in slot 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 & 12
  2. Run STREAM to obtain best memory bandwidth
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.