Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The utility hdparm only shows raw speed. It does not count for speed of the filesystem. Also cache has nothing to do with the throughput of the hard drive. Cache is only there when multiple files are needed to be access at once. The throughput depends on bus, PCI controller, cable, hard drive, and filesystem. With hdparm I get over 54 megabytes per second with an IBM/Hitachi 180GXP 120 GB hard drive connected to a Highpoint HPT372 controller. The filesystem that I'm using on that drive is XFS. It can create a few gigabyte files in about 30 to 40 secs even though it had about 10 GB of space left. I tried bonnie and bonnie++ but the results that it gave was not accurate. I used dd and used /dev/random to make 1 megabyte file. I then copy multiple of these files to combine them in a 100 megabyte file. The ext3 filesystem is slow compared to many filesystems. You can try using ReiserFS or XFS if you want to increase the speed of the hard drive. I do not suggest using Reiser4 because it can be unreliable at times.
Originally posted by twantrd We weren't doing cache timings. We were doing device read timings. Unless I'm mistaken. I looked at the man pages and it shows:
occuda kept on saying about the 2 MB cache versus the 8 MB cache during the hdparm tests. Did you read my post or did you skimed it. To me you skimed my post.
-T is buffer-cache
-t is buffered
Both are solidstate memory. Which values you should look is up to you. hdparm should only be used to just give estimates.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.