1 Attachment(s)
Holy hard drive thrashing batman!
So, I decided to do a little test with CEP2 work units tonight since I got my SR-2 rig up and running. I set up Boinc to crunch 16 threads of CEP2 simultaneously. I also installed HDDLED to monitor the read and write speeds and total bytes since last bootup. The intent was to help me win that sapphire badge asap! I also wanted to see how bad the hard drive thrashing would be.
Well, I accidentally left my computer crunching all night last night and this morning when I woke up I found that I had written 380GB of data to my C drive. The drive is an SSD, so I'm not too thrilled about my little oopsie. I decided that I'd move my boinc data folder to my trusty ANS-9010 with 32GB of RAM and set up a RAID-0. The drive is not used for anything except for Boinc data for the following numbers. All WUs were previously downloaded.
First I started up my gpugrid.net to get a baseline of how much data gpugrid.net reads/writes when it's crunching. After 2 hours the numbers were in: 350MB read, 317MB written.
Next, I unsuspended my WCG project. Within seconds 2.5GB of data was written. There was no network activity, the 2.5GB of data appears to be part of the process of starting a thread. I checked my folder size, and it had only increased by about 40MB from 2 hours before.
Then, I sat around for an hour. After an hour I took another look...
http://www.xtremesystems.org/forums/...1&d=1290665297
HOLY CRAP! Is this thing for real? 27GB!? Gentlemen, if you love your SSD, do not try to run CEP2 WUs on it. Running 16 threads appears to generate about 1.5GB per thread per hour. Perhaps these ACard RAMdrives have a very useful function for me after all. They don't "wear out" like SSDs. ;)
One thing to look at is the rate kb/sec of the screenshot. I sat and watched the write rate to see what was going on. It turns out that 8-17MB are written every second. Every second. Not intermittently, but constantly. For those of you wanting to crunch CEP2 work units, I highly recommend against using an SSD if you want your drive to have a reasonable life span. I did try changing the checkpoint time from 300 to 600 seconds, it didn't appreciably change the size of the writes.
I considered enabling the NTFS file compression for the boinc data directory. The files do compress quite well(about 40% saved). However, the extra CPU usage would slow down the performance of Boinc WUs.
One big penalty is taken when you suspend and restart the threads(such as during a reboot). For whatever reason, 2GB+ gets written to my drive every time I reboot or when I unsuspend the WCG project.
For those of you that DO use SSDs, I'd highly recommend minimizing the number of times you allow Boinc to suspend your tasks and try to minimize your reboots.
I'm leaving my cruncher on tonight to see what happens to the totals for reads and writes. Stay tuned!