You are not logged in.

#1 2009-12-23 08:32:06

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

SATA2 HDD slow based on these hdparm -Tt /dev/sda numbers [SOLVED]

I have a EG45M-UD2H running BIOS F3 (latest one as of the time of this post).  I'm noticing a pretty significant HDD speed decrease with this board vs. my old board.  If I take the same Seagate 7200.12 (1 gig) HDD and benchmark it on another motherboard, the cached reads are about 7x higher. 

For example, under the EG45M-UD2H:

# hdparm -Tt /dev/sda

/dev/sda:
 Timing cached reads:   2692 MB in  2.00 seconds = 1346.47 MB/sec
 Timing buffered disk reads:  386 MB in  3.01 seconds = 128.13 MB/sec

On another motherboard (DFI LP P35-T2R):

# hdparm -Tt /dev/sda

/dev/sda:
 Timing cached reads:   14740 MB in  2.00 seconds = 7378.19 MB/sec
 Timing buffered disk reads:  368 MB in  3.02 seconds = 122.04 MB/sec

The only relevant settings I see in the BIOS are:

BIOS settings: Integrated Peripherals>SATA RAID/AHCI Mode [AHCI]  <-- I have also set this to disable and there is no difference
SATA Port0-3 Native Mode [Enabled or Disabled] <-- I tried both and there is no difference

Does anyone have any thoughts?

$ lsmod | grep ahci
ahci                   34321  4 
libata                151860  4 pata_acpi,ata_generic,ahci,pata_jmicron

Last edited by graysky (2009-12-28 19:36:50)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2009-12-27 02:53:31

markp1989
Member
Registered: 2008-10-05
Posts: 431

Re: SATA2 HDD slow based on these hdparm -Tt /dev/sda numbers [SOLVED]

sounds like hddparm may off messed up,  my p45 board isnt on right now, but i loged in to my server and did a hddparm test ....

mark@torrentslave:~$ sudo hdparm -Tt /dev/sda

/dev/sda:
 Timing cached reads:   2308 MB in  2.00 seconds = 1153.72 MB/sec
 Timing buffered disk reads:  332 MB in  3.01 seconds = 110.25 MB/sec
mark@torrentslave:~$

the 7000mbs cache read, way to high for a sata 3gb interface, so i think the first reading is a mistake.

i dont know of any other hdd test utils apart from dding to /dev/null.  but some one will probably mention one soon


Desktop: E8400@4ghz - DFI Lanparty JR P45-T2RS - 4gb ddr2 800 - 30gb OCZ Vertex - Geforce 8800 GTS - 2*19" LCD
Server/Media Zotac GeForce 9300-ITX I-E - E5200 - 4gb Ram - 2* ecogreen F2 1.5tb - 1* wd green 500gb - PicoPSU 150xt - rtorrent - xbmc - ipazzport remote - 42" LCD

Offline

#3 2009-12-27 12:36:26

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: SATA2 HDD slow based on these hdparm -Tt /dev/sda numbers [SOLVED]

markp1989 wrote:

sounds like hddparm may off messed up,  my p45 board isnt on right now, but i loged in to my server and did a hddparm test ....

mark@torrentslave:~$ sudo hdparm -Tt /dev/sda

/dev/sda:
 Timing cached reads:   2308 MB in  2.00 seconds = 1153.72 MB/sec
 Timing buffered disk reads:  332 MB in  3.01 seconds = 110.25 MB/sec
mark@torrentslave:~$

the 7000mbs cache read, way to high for a sata 3gb interface, so i think the first reading is a mistake.

i dont know of any other hdd test utils apart from dding to /dev/null.  but some one will probably mention one soon

Thanks for the info, markp.  Can you post the output from your P45 board once you have that system powered up?  To answer your question, there's bonnie++ but it takes quiet a long time to run.

EDIT: This whole issue is a non-issue -- PEBKAC.  Seems as though I was misusing the -T switch:

hdparm manpage wrote:

-T

Perform  timings  of  cache reads for benchmark and comparison purposes.  This displays the speed of reading directly from the Linux buffer  cache  without  disk  access. This measurement is essentially an indication of the throughput of the processor, cache, and memory of the system under test.

Last edited by graysky (2009-12-28 19:34:45)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB