Earlier quoted context omitted.
A way to have your cake and eat it too - check out Primocache. It's pretty inexpensive disk caching software (especially for Windows Server which is where I really leverage it!). Pair it with an Optane for L2 cache and it will speed up normal SSD use too ;)
How does it compare to default linux caching algorithm?
Threadripper 3990X: The Quest To Compile 1B Lines Of C++ On 64 Cores
91–100 of 187 posts
Re: Threadripper 3990X: The Quest To Compile 1B Lines Of C++ On 64 Cores
#92Earlier quoted context omitted.
Make forces you to choose between being able to do full parallel builds or using recursive make, you can’t do both.
Why would you do recursive make? That is setup discouraged for decades ...
Re: Threadripper 3990X: The Quest To Compile 1B Lines Of C++ On 64 Cores
#93Earlier quoted context omitted.
17,300 lines/sec per core. That's embarrassingly slow IMHO.
What can perform better?
Re: Threadripper 3990X: The Quest To Compile 1B Lines Of C++ On 64 Cores
#94Earlier quoted context omitted.
SSD have hard time sustaining 200-400Mb/s write where is 4 HDD do is easily. Our case isn't that much about IOPS. Anyway, reasonably available SSDs have up to [1000 x SSD size] total write limit, so doing couple of 400G builds/day would use up the 1TB drive in 3 years. At worst times we had to develop&maintain 5 releases in parallel instead of regular 2-3.
Urm what? A modern NVMe drive will sustain ~2 GB/sec write. (See e.g. https://cdn.mos.cms.futurecdn.net/Ko5Grx7WzFZAXk6do4SSf8-128... , from Tom's Hardware)
Re: Threadripper 3990X: The Quest To Compile 1B Lines Of C++ On 64 Cores
#95Earlier quoted context omitted.
You just need more ram. I 'ever compile at less than -j$(ncpu). Hard with less than 32 GB tho - a single clang instance can easily eat upwards of 1gb of ram
Aha, I only compile on ARM so I got no room to increase RAM... Is it the same with g++? I have 4GB so I should be able to compile with 4 cores, but the processes only fill 2-3 cores even when I try make -j8 on a 8 core machine and then locks the entire OS until it craps out?! Something is fishy...
Re: Threadripper 3990X: The Quest To Compile 1B Lines Of C++ On 64 Cores
#96It is a good thing that Embarcadero is keeping alive this technology to create desktop apps from the early 2000s that was abandoned by MS and other large companies in favor of complex Web-based apps.
Someone has to build the native electron wrapper
Re: Threadripper 3990X: The Quest To Compile 1B Lines Of C++ On 64 Cores
#97Earlier quoted context omitted.
If your SSD would be at 100% utilization it’s going to take a lot of HDD to reach that kind of bandwidth. To the point where for high bandwidth loads SSD’s actually cost less even if you have to replace them regularly. 100% utilization and 30x the bandwidth = 30x as many HDD. Alternatively, if HDD’s are an option you’re a long way from 100% utilization.
SSD have hard time sustaining 200-400Mb/s write where is 4 HDD do is easily. Our case isn't that much about IOPS. Anyway, reasonably available SSDs have up to [1000 x SSD size] total write limit, so doing couple of 400G builds/day would use up the 1TB drive in 3 years. At worst times we had to develop&maintain 5 releases in parallel instead of regular 2-3.
Re: Threadripper 3990X: The Quest To Compile 1B Lines Of C++ On 64 Cores
#98Earlier quoted context omitted.
Where can you get decent ECC ram for a reasonable price? I was on the hunt recently for ECC RAM for my new desktop and I gave up and pulled the trigger on low latency non-ECC RAM. Availability seems to be pretty terrible at the moment.
You can get ECC UDIMMs from Supermicro. They are rebranded Micron DIMMs. ECC memory is not going to go as high of frequencies as you might be looking for. They will only go up to the officially validated speed of the CPUs. https://store.supermicro.com/16gb-ddr4-mem-dr416l-cv02-eu26....
Re: Threadripper 3990X: The Quest To Compile 1B Lines Of C++ On 64 Cores
#99Earlier quoted context omitted.
a build server recompiling multiple branches over and over in response to changes.
And logging all of those unit tests associated with all of those builds (and rolling over those logs with TRACE level debugging). Every build gets fully tested at maximum TRACE logging, so that anyone who looks at the build / test later can search the logs for the bug. 8TBs of storage is a $200 hard drive. Fill it up, save everything. Buy 5 hard drives, copy data across them redundantly with ZFS and stuff. 1TBs of SS…
Re: Threadripper 3990X: The Quest To Compile 1B Lines Of C++ On 64 Cores
#100Earlier quoted context omitted.
Don't SSDs have a finite TBW? 50GB of writes everyday (possible on large projects) will consume that in a couple of months.
I've swapped hundreds of terabytes to a terabyte SSD (off the shelf cheapie) with no recognizable problems (the gigapixel panoramas look fine).