DebianThis forum is for the discussion of Debian 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.
Has anyone else experienced slow access to disks in debian? I installed a second knoppix 3.2 installation and updated it to sid, but ever since disk access has been a tad slower and it causes the KDE gui to slow down and become jittery. This only happens with data above 20meg, but that never really hurt before... the console might become unresponsive for the duration of the copy, etc, but the gui wasn't that affected. Even at 20 it's only for a sec or two, but it gets worse with size. Maybe I just never noticed it before?
I haven't used the experimental branch of debian before, and just want to know if it's normal or there's something to speed it up a wee bitty.
Also after the upgrade the root partition doesn't mount as read only for an fsck at the start of boot. This is no bother, I only mention it in case it's related...
Is the file /etc/rc.d/rc.local on your system? If so, try these settings out and check the timings after changing each one.
hdparm -d1 -u1 -m16 -c3 /dev/hdd
If that drive is a slave to a CDROM, it will be slower than if on an IDE cable with only hard drives attached.
See this article:
# Hard drive tweak Speeding up Linux Using hdparm
Not mentioned in the article but could possibly freeze the box:
UDMA 33/66/100. Add the -X option, and then this number i.e. (-X 69)
-X 33 ====> Multiword DMA
-X 66 ====> ATA-33 (UDMA2)
-X 68 ====> ATA-66 (UDMA4)
-X 69 ====> ATA-100 (UDMA 5)
I can't tell any difference with the X settings, myself.
On your Knoppix install edit the file /etc/init.d/bootmisc.sh and uncomment the hdparm line that should already be at the bottom of the file. BTW if you had booted Knoppix with the dma cheat code before you installed it would have been turned on by default you may also want to use the line suggested above instead of just the hdparm -qd1 /dev/hdd that will be there.
Cheers guys. I reinstalled debian sid and watched what it did. It replaces /etc/init.d/bootmisc.sh which is where Knoppix calls hdparm to set dma. Copying the two lines from a backup to the end of the file fixed it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.