On Wed, 23 Mar 2005, Oliver Korpilla wrote:

What can you read out of this? (straight from dmesg)

It looks like it is using DMA. What is the output of hdparm -tT <device>? I get:

galileo:~# hdparm -tT /dev/sda

/dev/sda:
Timing cached reads: 2536 MB in 2.00 seconds = 1266.93 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device
Timing buffered disk reads: 172 MB in 3.03 seconds = 56.74 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device


More importantly, CPU usage jumps sharply up when hdparm is timing cached reads, with more than 80% cpu usage in system calls, which is expected since it is essentially reading as fast as it can from RAM; then it drops back to about 5% when timing buffered disk reads, which shows that DMA is indeed being used.

bye
Giacomo

--
_________________________________________________________________

Giacomo Mulas <[EMAIL PROTECTED]>
_________________________________________________________________

OSSERVATORIO ASTRONOMICO DI CAGLIARI
Str. 54, Loc. Poggio dei Pini * 09012 Capoterra (CA)

Tel. (OAC): +39 070 71180 248     Fax : +39 070 71180 222
Tel. (UNICA): +39 070 675 4916
_________________________________________________________________

"When the storms are raging around you, stay right where you are"
                          (Freddy Mercury)
_________________________________________________________________


-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Reply via email to