Re: [expert] Hard Drive Performance SUCKS under LM8
What can I do to boost hard disk performance. I've got /, /usr/local, and /home set up as ReiserFS partitions, and /boot as ext2 (that little trick let me upgrade my kernel in 7.1 without the ReiserFS filesystem work-around, so I kept with it). I can't verify it until I find the rpm which contains hdparm, but I think I remember the result of hdparm -t was 2.6 or 6.2 Mb/sec. Obviously, either of those is FAR slower than it should be. - Theo I have inserted this line at the end of /etc/rc.d/rc.sysinit: /sbin/hdparm -c 1 -d 1 -k 1 /dev/hda - and I also have a line just like it for /dev/hdb and /dev/hde. This has proven to be the best place to put it, at least for me, unless you want to put it in a script and run it from your init.d. Bear in mind that I am using ext2 partitions, not Reiser; so make sure you check the viability of the options I used before you go trashing your system by blindly following my lead. I haven't checked into the Reiser system's differences from ext2. I am just telling you what works for me. Jay -- Q: How many IBM 370's does it take to execute a job? A: Four, three to hold it down, and one to rip its head off. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Hard Drive Performance SUCKS under LM8
On Friday 14 September 2001 03:26, Theo Brinkman wrote: OK, found hdparm (would have sworn I'd already tried /sbin, but I guess not. Seems my drives are running in 16-bit mode. When I switch them to 32-bit mode, drive performance nearly doubles (from 2.6-3.7 up to 6.3-6.7 MB/sec). How do I convince it I want it to run in 32-bit mode all the time. I seem to remember reading somewhere that numbers less than 14 MB/sec indicate that the drive is not properly configured (as 33 MB/sec is what you could maximally get out of pre UDMA drives). Someone please correct me if I'm wrong. 33MB/sec on UDMA 100 is pretty flashy performance. 36 is the best I have seen. If you want everything out of your notebook, download drakopt-1.01-0.86mdk.noarch.rpm from cooker. Install with rpm -ivh and run it as root. Just run it. The current version works with 8.0. It does not yet have the tradeoff algorithm that picks the best signal/noise ratio or the processing of stderr to detect the case when some drives interact on the same IDE channel and to afvise the user to separate them, but the basic functionality of checking options is there. Often you will get better performance at UDMA 66 or 33 than at 100 (Yes, noise and retries), and it does catch that case. It may take 30 minutes to do all the tests. Civileme My other (older) laptop also seems to default to 16-bit mode, but it's numbers are [16-bit] 7.59 MB/sec [32-bit] 7.62 MB/sec. I'd expect my new laptop with a 20GB drive (same height and spindle speed) to be faster than the old 4GB drive. Am I off base here, or not? - Theo Theo Brinkman wrote: I am running Mandrake 8.0 on my Toshiba Satellite 2805-S402 (one of the nice shiny ones with the GeForce2Go). The performance is great except for one aspect. The hard drive performance under Linux seems to be much worse than under Win2K. I ran hdparm -t shortly before I did a reinstall hoping I might spot an elusive option that might help. In the process of the reinstall, I seem to have missed the package with hdparm in it, so I can't be sure, but I'm not seeing any performance (it takes less time for my old PII 233 Satellite 4000 to load up Mozilla). Once things are loaded into memory, performance is great, but it takes almost 10 seconds for a terminal window to pop up the first time, but only about 1 second for a second one. What can I do to boost hard disk performance. I've got /, /usr/local, and /home set up as ReiserFS partitions, and /boot as ext2 (that little trick let me upgrade my kernel in 7.1 without the ReiserFS filesystem work-around, so I kept with it). I can't verify it until I find the rpm which contains hdparm, but I think I remember the result of hdparm -t was 2.6 or 6.2 Mb/sec. Obviously, either of those is FAR slower than it should be. - Theo Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com message.footer Content-Type: text/plain Content-Encoding: 8bit Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Hard Drive Performance SUCKS under LM8
I am running Mandrake 8.0 on my Toshiba Satellite 2805-S402 (one of the nice shiny ones with the GeForce2Go). The performance is great except for one aspect. The hard drive performance under Linux seems to be much worse than under Win2K. I ran hdparm -t shortly before I did a reinstall hoping I might spot an elusive option that might help. In the process of the reinstall, I seem to have missed the package with hdparm in it, so I can't be sure, but I'm not seeing any performance (it takes less time for my old PII 233 Satellite 4000 to load up Mozilla). Once things are loaded into memory, performance is great, but it takes almost 10 seconds for a terminal window to pop up the first time, but only about 1 second for a second one. What can I do to boost hard disk performance. I've got /, /usr/local, and /home set up as ReiserFS partitions, and /boot as ext2 (that little trick let me upgrade my kernel in 7.1 without the ReiserFS filesystem work-around, so I kept with it). I can't verify it until I find the rpm which contains hdparm, but I think I remember the result of hdparm -t was 2.6 or 6.2 Mb/sec. Obviously, either of those is FAR slower than it should be. - Theo Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Hard Drive Performance SUCKS under LM8
OK, found hdparm (would have sworn I'd already tried /sbin, but I guess not. Seems my drives are running in 16-bit mode. When I switch them to 32-bit mode, drive performance nearly doubles (from 2.6-3.7 up to 6.3-6.7 MB/sec). How do I convince it I want it to run in 32-bit mode all the time. I seem to remember reading somewhere that numbers less than 14 MB/sec indicate that the drive is not properly configured (as 33 MB/sec is what you could maximally get out of pre UDMA drives). Someone please correct me if I'm wrong. My other (older) laptop also seems to default to 16-bit mode, but it's numbers are [16-bit] 7.59 MB/sec [32-bit] 7.62 MB/sec. I'd expect my new laptop with a 20GB drive (same height and spindle speed) to be faster than the old 4GB drive. Am I off base here, or not? - Theo Theo Brinkman wrote: I am running Mandrake 8.0 on my Toshiba Satellite 2805-S402 (one of the nice shiny ones with the GeForce2Go). The performance is great except for one aspect. The hard drive performance under Linux seems to be much worse than under Win2K. I ran hdparm -t shortly before I did a reinstall hoping I might spot an elusive option that might help. In the process of the reinstall, I seem to have missed the package with hdparm in it, so I can't be sure, but I'm not seeing any performance (it takes less time for my old PII 233 Satellite 4000 to load up Mozilla). Once things are loaded into memory, performance is great, but it takes almost 10 seconds for a terminal window to pop up the first time, but only about 1 second for a second one. What can I do to boost hard disk performance. I've got /, /usr/local, and /home set up as ReiserFS partitions, and /boot as ext2 (that little trick let me upgrade my kernel in 7.1 without the ReiserFS filesystem work-around, so I kept with it). I can't verify it until I find the rpm which contains hdparm, but I think I remember the result of hdparm -t was 2.6 or 6.2 Mb/sec. Obviously, either of those is FAR slower than it should be. - Theo Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com message.footer Content-Type: text/plain Content-Encoding: 8bit Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Hard Drive Performance SUCKS under LM8
On Thursday 13 September 2001 09:26 pm, you wrote: OK, found hdparm (would have sworn I'd already tried /sbin, but I guess not. Seems my drives are running in 16-bit mode. When I switch them to 32-bit mode, drive performance nearly doubles (from 2.6-3.7 up to 6.3-6.7 MB/sec). How do I convince it I want it to run in 32-bit mode all the time. I seem to remember reading somewhere that numbers less than 14 MB/sec indicate that the drive is not properly configured (as 33 MB/sec is what you could maximally get out of pre UDMA drives). Someone please correct me if I'm wrong. My other (older) laptop also seems to default to 16-bit mode, but it's numbers are [16-bit] 7.59 MB/sec [32-bit] 7.62 MB/sec. I'd expect my new laptop with a 20GB drive (same height and spindle speed) to be faster than the old 4GB drive. Am I off base here, or not? Try these in the append= field of lilo.conf or the kernel line in GRUB (always leave a stock kernel entry for safety or keep a bootdisk handy): ide0=0x1f0 ide0=dma ide0=autotune ide1=dma ide1=autotune floppy=daring (the first loads the more modern IDE driver which is not loaded by default, the latter loads a faster floppy driver). and do an hdparm -t before and after and see if it helps. YMMV Hoyt Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Hard Drive Performance SUCKS under LM8
Have a look in /etc/sysconfig. I'm not sure about LM but in redhat there's a config file that set hdparm with certain at boot time. If you can't find anything there have a look at /etc/rc.d/rc.local. If there's no call to hdparm add one at the bottom with your desired options. Also be careful with those data transfer values. What program did you use the measure it?? Did you use bonnie or something similiar. Also be aware that 33MB/sec is the maxmimum transfer rate of the IDE interface. If there a two devices on the same IDE-Channel then they have to share that rate. Maybe your CPU is the problem. I don't know why but for me reiserfs is pushing a hard job to my CPU. On an AlphaStation 200 with 233MHz the performance of my harddrive dropped from about 18-20MB/sec (ext2) to about 7 or 8 MB/sec (reiserfs) - measured with bonnie++. The reason for that drop was that the CPU couldn't handle it faster (i.e. 98% cpu time, whereas ext2 almost nothing). And no, I don't have the extra checking option for reiser set. Since people say that reiser has the best performance I'm really wondering what would happen if I use another journaling FS. Gregor On 14-Sep-2001 Theo Brinkman wrote: OK, found hdparm (would have sworn I'd already tried /sbin, but I guess not. Seems my drives are running in 16-bit mode. When I switch them to 32-bit mode, drive performance nearly doubles (from 2.6-3.7 up to 6.3-6.7 MB/sec). How do I convince it I want it to run in 32-bit mode all the time. I seem to remember reading somewhere that numbers less than 14 MB/sec indicate that the drive is not properly configured (as 33 MB/sec is what you could maximally get out of pre UDMA drives). Someone please correct me if I'm wrong. My other (older) laptop also seems to default to 16-bit mode, but it's numbers are [16-bit] 7.59 MB/sec [32-bit] 7.62 MB/sec. I'd expect my new laptop with a 20GB drive (same height and spindle speed) to be faster than the old 4GB drive. Am I off base here, or not? - Theo Theo Brinkman wrote: I am running Mandrake 8.0 on my Toshiba Satellite 2805-S402 (one of the nice shiny ones with the GeForce2Go). The performance is great except for one aspect. The hard drive performance under Linux seems to be much worse than under Win2K. I ran hdparm -t shortly before I did a reinstall hoping I might spot an elusive option that might help. In the process of the reinstall, I seem to have missed the package with hdparm in it, so I can't be sure, but I'm not seeing any performance (it takes less time for my old PII 233 Satellite 4000 to load up Mozilla). Once things are loaded into memory, performance is great, but it takes almost 10 seconds for a terminal window to pop up the first time, but only about 1 second for a second one. What can I do to boost hard disk performance. I've got /, /usr/local, and /home set up as ReiserFS partitions, and /boot as ext2 (that little trick let me upgrade my kernel in 7.1 without the ReiserFS filesystem work-around, so I kept with it). I can't verify it until I find the rpm which contains hdparm, but I think I remember the result of hdparm -t was 2.6 or 6.2 Mb/sec. Obviously, either of those is FAR slower than it should be. - Theo Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com message.footer Content-Type: text/plain Content-Encoding: 8bit -- E-Mail: Gregor Maier [EMAIL PROTECTED] Date: 14-Sep-2001 Time: 07:34:28 -- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com