Linux - GeneralThis forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.