Poor performance (Quad-core AMD)
The Problem:
(Debian Lenny AMD64) - the problem also occurred with Ubuntu 8.04 x86 & AMD64. If I am moving files from one folder to another, or one drive to another my performance is extremely slow. It is to the point where I cannot even open a web browser while I am moving files around. I've installed IOtop and htop. Htop does not show anything eating up the CPU. IOtop on the other hand shows pdflush running multiple times with 99% IO and kjournald at 99% IO. My old dual-core running on 4GB of memory was much faster than this. I could at least type / open other programs when I was transferring files. Htop shows no swap being used (0/3271MB). Could this be my problem? On a side note, Windows 7 64bit runs perfectly fine on this same machine (dual-boot). If anyone can point me in the right direction I would greatly appreciate it. System Specs: Motherboard - ASUS M4A785-M (North Bridge AMD 785G, South Bridge AMD SB710) Processor - AMD Phenom II X4 810 2.6GHz 4 x 512KB L2 Cache 4MB L3 Cache Socket AM3 95W Quad-Core Processor Memory - 6GB DDR2 (I have run memory tests and they have all come back good) Graphics Card - ZOTAC ZT-96SES4P-FSL GeForce 9600 GSO 512MB 256-bit GDDR3 Hard Drives - SATA drives (500GB, 250GB, 1TB) Code:
debian:/etc$ lspci Code:
debian:/etc$ cat /proc/cpuinfo |
Check your throughput of your Sata controller first with hdparm, here's mine...
Code:
hdparm -tT /dev/sda Code:
# for i in 1 2 3; do hdparm -tT /dev/sda; done This is a sata WD 500G caviar black edition. Test each disk, see if there is any bottlenecks on the disk or controller. Then if you have slow performance, try to tail -f | dmesg, and re-run the test. You should look into hdparm, I've optimized my disks, and have excellent performance. Check this link here http://www.gentoo-wiki.info/Hdparm If your still having issue's with disk performance ... I'd recommend a building a custom kernel with optimized settings... If you don't know how ... I have some free time to build you a nice kernel config that will work for your setup. |
DMA disabled on the drives for some reason in Linux? My hdparm test shows about 1/2 of what mwap has, but I can't say that my machine is slow by any means.
|
How can I tell if DMA is enabled or not?
Code:
debian:/home/eric# for i in 1 2 3; do hdparm -tT /dev/sda; done |
Quote:
My test was from one sata disk that has 32mb cache. |
Quote:
|
Post the output of all your drives in separate code blocks with this command:
Code:
# hdparm -i /dev/sda |
Also give me the kernel revision your using ... I'm guessing its the kernel
|
debian:/proc# cat /proc/version
Linux version 2.6.26-2-amd64 (Debian 2.6.26-19) (dannf@debian.org) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Wed Aug 19 22:33:18 UTC 2009 debian:/proc# uname -a Linux debian 2.6.26-2-amd64 #1 SMP Wed Aug 19 22:33:18 UTC 2009 x86_64 GNU/Linux Code:
debian:/proc# sdparm -a /dev/sda |
Code:
debian:/proc# hdparm -i /dev/sda Code:
debian:/proc# hdparm -i /dev/sdb Code:
debian:/proc# sdparm -i /dev/sda Code:
debian:/proc# |
/dev/sda
Quote:
/dev/sdb Quote:
EDIT: To set the acoustics, we need to use this command: Code:
# hdparm -M254 /dev/sda Code:
# hdparm -tT /dev/sda |
Code:
debian:/proc# hdparm /dev/sda |
Judging by the hardware your have, and the kernel version your running. I'd say that you need to update the kernel for maximum performance.
I would update the kernel first... When I was shopping for a hdd, I choose very carefully. The WD Caviar blacks have a 5 year warranty 32mb cache.. and a speed burst feature. Man there nice for a platter drive |
What kernel should I aim for? It has been a while since I've compiled a kernel.
|
I've edited some of my posts... first try and set the acoustics ... with the above command and re-test... Then post the results
post #11 |
All times are GMT -5. The time now is 02:16 PM. |