Re: How to boost performance [SOLVED]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you all for your many suggestions.

After performing all the tweaks suggested, I was able to write a 5GB file
from my workstation to my server at 100MB/sec!!!  Reads (from the server)
are equally as fast and are mainly limited by my workstation now.  The
server has dual bonded gigabit NICs so it can throw the data pretty fast.

Here is what I did:

echo 16384 > /sys/block/md0/md/stripe_cache_size
Added to /etc/fstab for md0:   barrier=1,journal_checksum,stripe=5
Switched to AHCI mode for both my SATA controllers
One of my disks in the BIOS was not set to 32bit transfer mode where the
others were.  I changed that.
And finally my kernel version changed when I rebooted.  I'm not sure if it
is relevant but thought it should be noted:  2.6.32.14-127.fc12.x86_64
instead of 2.6.32.11-99.fc12.x86_64.

Additionally, it should be noted that my wait states went down to about
2-3% while writing to the array (instead of 20-40%) and CPU usage was only
about 40% total instead of maxed.

dd if=/dev/zero of=zerofile bs=1M count=6144 conv=fdatasync,notrunc
6144+0 records in
6144+0 records out
6442450944 bytes (6.4 GB) copied, 37.1289 s, 174 MB/s

Thank you all for your help!

---
Will Y.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux