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.
I suggest you boot into Linux (if possible) and issue the following commands:
hdparm -I /dev/sda
hdparm -tT /dev/sda
(which assumes your drive is actually sda, not sdb or whatever - adjust as required).
Then post the results of hdparm -tT and skim the output of the other command for mode: are you using pio or udma (the one you are using should be indicated by an asterisk).
Have you gone into the BIOS and checked to see if there's something like "optimize for speed"? I have an MSI mobo here that defaults the FSB speed to 100MHz when you clear NVRAM. I'd look to the FSB speed and perhaps any setting related to the PCI bus or memory speed. Does your system report the correct processor speed? If not, that's one clue of a problem.
There is also filesystem overhead and other latency issues. Both EXT3 and ReiserFS have poor copy throughput. About 3 MB per second to copy a file from one drive and then to another drive that is using EXT3 or ReiserFS as the filesystem seems reasonable. I suggest using JFS or XFS. I use XFS with custom format options. With XFS, I get near normal desktop usage which is about 20 MB to 60 MB per second. I use XFS for majority of my partitions except for /var/log and /boot.
nVidia motherboard chipset and Intel processors do not mix well. nVidia motherboard chipset and AMD processors works well and performance is better than any chipset for AMD. If you can, upgrade the BIOS. I suggest using Intel chipsets, but if you do not want Intel chipsets, I suggest your next selection be ATI. ATI does not provide stable drivers in Windows, but 3rd party drivers that Linux provides are more reliable. Though I do not have any proof, but what I do have is nVidia makes pathetic chipsets for Intel processors.
Quote:
As for Electro's recommendation, I'm not 100% sure. Samsung may have had a poor reputation but this latest line of Spinpoints appears to be much better than their earlier drives. I just benchmarked my Western Digital drives against the Samsung and they get beaten by a considerable 11MB/s. Or is hdparm unreliable as a benchmark?
People still do not understand that throughput does not matter when it comes to accessing files. Again throughput can always be improved by using RAID-0. Accessing times can not be better or lower easily.
hdparm only tests raw performance. It does not test filesystem performance.
Also, when I got the 2.8 MB/s xfer rate it was from vfat to NTFS while running Windows, I'm sure I'd get the same results in Linux, just at the moment it takes about 5 mins to jump back and forth between each OS, no LILO or GRUB installed.
why dont U guys use Command line Interface..rather than GUI like GNOME or KDE
guys why do we complain about having slow response time or data transfer rate...why cannt we simply use command line to move stuff in between the partitions....and then compare the speed...A REAL LINUX USER has to be a GURU of Command Line...GUI is for Microsoft Users ...hehehehe
About 3 MB per second to copy a file from one drive and then to another drive that is using EXT3 or ReiserFS as the filesystem seems reasonable. I suggest using JFS or XFS
I use XFS exclusively; yet I am seeing these huge differences in performance when switching from Gnome to KDE.
Quote:
People still do not understand that throughput does not matter when it comes to accessing files. Again throughput can always be improved by using RAID-0. Accessing times can not be better or lower easily.
Well, I do understand that part. But this particular Samsung drive has equal if not lower access times than my WD2500KS drives. I'm sure one could find WD drives that do perform better, but those would fall in a higher price category (the Samsung was about $130 the last time I checked).
@davidguygc:
Are you sure that your drive is as slow when you use Linux as when you use Windows? The output you posted here would appear to indicate otherwise. You do have UDMA6 enabled and the reads are actually somewhat better than those I get from my own system. Have you checked in windows whether it is not using PIO mode? Is it optimized for performance?
I turned on PIO mode, and I'm assumming I don't want it, because the read test slowed down, and the music I was playing was slowed to about half speed during the test.
No, you don't want PIO mode. That's the slowest you can get. But sometimes people are using PIO without knowing it so I wanted to make sure that you weren't when I saw that 2.8MB/s.
Again those figures look fine to me. They are more of the theoretical kind of information but they do mean something at least. One thing that could play a considerable role is the nature of those files: are they small or big, scattered or grouped? If you move one big file, you should see better performance than when you are accessing a lot of smaller ones.
Well, as I said, those are theoretical speeds. If you move one large file, say a dvd movie or so, you should see the transfer rates go up. Smaller files involve more searching = lower speed.
Well, I've been testing all of these numbers based on 1 650MB file. So I gotta figure out a way to find why my hard drive is only going about 1/2 as fast as it should be. I only have a few more days to return it if it needs to be returned for a different hard drive. I spent too much money on this computer to have a shotty hard drive
I would do the same. But when you boot into Linux again, I suggest you try and move that file from the command line, just as an experiment. As I said, one file I had (100MB) took 30 seconds doing cut & paste but only 2 second when I used the command line. If you see something similar, then it's rather unlikely that the disk is to blame.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.