LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Disk I/O too fast?? (SATA-2) (https://www.linuxquestions.org/questions/linux-general-1/disk-i-o-too-fast-sata-2-a-760446/)

kaz2100 10-07-2009 10:54 PM

Disk I/O too fast?? (SATA-2)
 
Hya,

While I am tuning up my Penguin (Debian, squeeze), I am confused.

Main job with this penguin is processing huge data, so I guess so so CPU intensive and disk I/O. "top" reading agrees, 40-80% user CPU, 5-10% iowait.

Next, I wanted to check whether disk i/o was a bottleneck, in this case putting data on SSD may improve performance. "iostat" reading says that ca. 180000 blocks read/sec. Now, I am lost. "tune2fs -l" says that 1 block = 4096. (mkfs says that unit is byte, not bit).
1.6E4 block_read/sec $times$ 4096 bytes/block $times$ 8 bit/byte $nearly equals$ 5.9E9 bit/sec. This exceeds SATA-2 spec (which is 300MByte/sec = 2.4E9 bit/sec), of course disk transfer rate in catalog, (1406 Mbit/sec).

What is wrong? Answer is that the block iostat refers is 512 byte as man page says!

So transfer speed is 5.9E9 bit/sec $dev$ 8 $equals$ 7.4E8 bit/sec.

If anybody else run into same question, read this thread!

Happy Penguins!

H_TeXMeX_H 10-08-2009 02:57 PM

Quote:

Originally Posted by kaz2100 (Post 3711773)
If anybody else run into same question, read this thread!

Happy Penguins!

Well, if you want to increase the chance of that I would mark the thread as solved.


All times are GMT -5. The time now is 01:07 PM.