Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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 don't know why, but every file copy i make is followed by a huge "lag". And during this time my hdd is/are working at 100% (XMMS stops for some seconds, then restart, then stops, etc... like if another apps was taking 100% of the cpu).
It reminds me Windows 95
i got it on each command that demand writing access to the hdd like "cp" or "apt-get install"...
Here is my hdd installation:
Master: Seagate 60Go
Slave: IBM 120Go
/dev/hda1 -> /boot
/dev/hda2 -> swap
/dev/hda3 -> windowsxp
/dev/hda5 -> /
/dev/hda6 -> /home
/dev/hdb1 -> /share
I hope someone has a solution, or just have the same problem (maybe the last kernel 2.6 resolve this ?)
Why putting my second disk as master on the 2nd ide will change something ? It's impossible to have more than 2 "fast" hdd on Linux because DMA is disabled otherwise ? I don't understand...
I haven't found anything about DMA in my BIOS... I've checked each tab...
Here is the output of your command :
Code:
~> hdparm -Tt /dev/hda
/dev/hda:
Timing buffer-cache reads: 1164 MB in 2.00 seconds = 582.00 MB/sec
Timing buffered disk reads: 12 MB in 3.05 seconds = 3.93 MB/sec
ok !!!! it's almost resolved !!!
I looked over again my kernel config setup, and i saw that i had a module called VIA82CXXX, i loaded it and i tried hdparm -d1 /dev/hda and it's ok !!! it's worked !!!
I got a last problem... the DMA is disable at startup... i don't understand why...
Should i set the via module in the kernel and not in module ??
Why putting my second disk as master on the 2nd ide will change something ?
Reading and writing to the same ide simultaneously does slow things down. They inevitably share the bandwidth if both are working on say a file copy from one drive to another. Splitting the drives on independent ide interfaces allows for utilization of both ide interfaces thus, both get the full bandwidth of the ide
Yes, it should... What you can try is to pass this option to the kernel at boot:
ideX=dma where X is between 0 and 3 for example ide1.... more info in /usr/src/linux/Documentation/ide.txt
It may also comes from that DMA is possible since you have inserted Via82cxx as module... so at boot, the module is probably not inserted and so DMA is not enabled.
It's ok now !!! everything starts in dma with the good mode (even for the DVD writer )
To make it work, i had to put via2cxxx in the kernel and not as a module
(maybe a initrd could fix it if i really wanted to have it as a module, but it's ok )
Thanks a lot for your helps !!
I hope i will help someone someday, but i m still a young padawan
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.