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've heard (although never tested myself) that putting two hard-disk drives on separate IDE channels will improve their performance. This is because a hard-drive that is mounted and in use will be frequently sending information across the IDE data channels, so it is faster to separate the two drives and therefore the two streams of information. Therefore, I'd say that putting your main hard-disk as primary master and your CD drive as primary slave, and your other hard-disk as secondary master, would be a good plan to increase performance. However, you should check into it more carefully from the boot perspective, because you might not be able to boot from CD if you configure your system like this. (As far as I know, my system will only boot to a master device, but I'm not entirely sure that all systems do that.)
The bandwidth of an IDE or ATAPI channel is shared between both devices, so it's best to keep the hard disks on seperate channels if you can, or the devices will slow down.
The CD won't take up any bandwidth unless it's being used. If you really want maximum performance even with the CD being used, buy a second IDE controller (on a PCI card) and put the CD on that.
Also, note that swapping only kicks in when you run out of free RAM pages; you might want to play with /proc/cpu/swappiness in recent kernels to control the balance between RAM cache pages and application RAM pages, which directly affects how many pages are free in RAM.
To make the hard disks go faster, you could look also at using software RAID, or even buying a RAID controller.
The value to put in swappiness doesn't really have anything to do with the amount of RAM you have.
Basically, the lower the value the more likely you are to use cache memory rather than swap space, making applications more responsive but possibly slowing down hardware access.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.