Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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.
/dev/sda7:
Timing buffered disk reads: 64 MB in 2.71 seconds = 23.62 MB/sec
[root@schrock321 schrock]# /sbin/hdparm -t /dev/sda6
/dev/sda6:
Timing buffered disk reads: 64 MB in 5.10 seconds = 12.55 MB/sec
[root@schrock321 schrock]#
I would hope that reiserfs is faster then a FAT32 partition in linux or is that just a typo and you really meant sda5.
From what I've read: reiserfs is faster with smaller files, jfs is faster with big files. ext3 is just an ext2 with a journal but you can still use all of the ext2 disk utilities if you remount it as ext2.
ext3 and fat32 always run about the same speed for me. This was not a typo just a messup. I meant to test sda5. I will test the ext3 partition when I get home. But I'm confident that the fat32 and ext3 will be the same. I have tested the ext3 partition 2 days ago against the fat32 partition and they were the same. But I will post the actual results just the same.
Does anyone else care to post some comparisons also?
I'm assuming you want to know how I came up with these results? If so then do this at the command prompt, substituting sda6 with what ever your hard drive is
/sbin/hdparm -t /dev/sda6
for details do a
"man hdparm"
at the command prompt
/dev/hda2:
Timing buffered disk reads: 64 MB in 2.29 seconds = 27.95 MB/sec
root@jac3:~# hdparm -t /dev/hda3
/dev/hda3:
Timing buffered disk reads: 64 MB in 2.15 seconds = 29.77 MB/sec
root@jac3:~#
This is a much more modest machine ( PII 400mhz ).
But it does have a 7200rpm, 80g, UDMA100 drive. Maybe that is where the performance is coming from.
But these scores are also higher than the ones listed by illtbagu.
illtbagu, are you sure that something isn't mis-configured on your box ? It seems to me that with SCSI devices, you should be able to beat all my scores.
Please post again and list the SCSI controller and disk that you have.
/dev/hda:
setting 32-bit IO_support flag to 1
setting using_dma to 1 (on)
setting keep_settings to 1 (on)
IO_support = 1 (32-bit)
using_dma = 1 (on)
keepsettings = 1 (on)
root@jac:/#
Is there an advantage to having 'using_dma = 3' as opposed to 'using_dma=1' ?
Also, what about setting the read ahead on ? How did you do that ?
And last, does the 'keepsettings=1' function mean that you only have to set things one time ?
Currently, I have the entry 'hdparm -d 1 -c 1 -k 1 /dev/hda' in my 'rc.local' file so that it sets it every boot.
*-cpu
product: Intel(R) Pentium(R) 4 CPU 2.40GHz
vendor: Intel Corp.
version: 15.2.7
slot: Socket 478
size: 2736MHz
clock: 152MHz
*-disk:0
description: ATA Disk
product: Maxtor 6Y060L0
bus info: ide@0:master
logical name: /dev/hda
version: YAR41VW0
serial: Y2RACPJE
size: 57GB
capacity: 57GB
capabilities: ata dma lba iordy smart security pm apm
configuration: apm=off mode=udma5 smart=on
*-disk:1
description: ATA Disk
product: MAXTOR 6L040J2
bus info: ide@0:slave
logical name: /dev/hdb
version: AR1.0400
serial: 662133433204
size: 37GB
capacity: 37GB
capabilities: ata dma lba iordy smart security pm
configuration: mode=udma5 smart=on
Code:
>hdparm -Tt /dev/hda /dev/hdb
/dev/hda:
Timing buffer-cache reads: 2060 MB in 2.00 seconds = 1028.61 MB/sec
Timing buffered disk reads: 144 MB in 3.04 seconds = 47.34 MB/sec
/dev/hdb:
Timing buffer-cache reads: 1964 MB in 2.00 seconds = 981.66 MB/sec
Timing buffered disk reads: 120 MB in 3.00 seconds = 39.98 MB/sec
Never had to mess with hdparm to alter the original settings except when I misconfigured my IDE_BLK_DEV in the kernel.
Same for my older P3/Via133a-ATA66, ...which scores in the wherabouts of Dalek's numbers ...iirc, not booted atm.
hdparm does not benchmark the filesystem. It only benchmarks your hardware. Use bonnie or something similar to find out the real speed for each filesystem.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.