PDA

View Full Version : DMA in 3.8



ddrex
04-05-2005, 12:28 AM
After I installed 3.8 the other day I noticed that heavy disk activity (like an md5sum on a large file) would use up all available CPU dragging the system to its knees.

While exploring knoppix menus I found an option to enable DMA. DMA does direct transfers from memory to harddisk without using up CPU. It makes an enormous difference in system performance. The md5sum that was taking 5 mins and making the machine unusable for the duration now takes 30 secs and you can't tell it's running. Anybody know why DMA isn't enabled by default and how to make that setting permanent?

Thanks for any info.

dd

UnderScore
04-05-2005, 01:07 AM
When DMA is enabled by default many many CDROM drives fail to boot knoppix and the resulting error message does not indicate that it is DMA that is failing. So if it is enabled we have to boot with the cheatcode nodma. We answer For some proof see this http://www.google.com/search?q=nodma+site%3Aknoppix.net or just search the forums for nodma.

I understand your frustration but it looks like the knoppix devels are trying to seek a balance. I would prefer it was to stay enabled but that there would be a huge warning in _FLASHING RED_ that would tell the user: "If this fails to boot, it was probably DMA, so just boot with nodma."

ddrex
04-05-2005, 02:05 AM
When DMA is enabled by default many many CDROM drives fail to boot knoppix and the resulting error message does not indicate that it is DMA that is failing. So if it is enabled we have to boot with the cheatcode nodma. We answer For some proof see this http://www.google.com/search?q=nodma+site%3Aknoppix.net or just search the forums for nodma.

I understand your frustration but it looks like the knoppix devels are trying to seek a balance. I would prefer it was to stay enabled but that there would be a huge warning in _FLASHING RED_ that would tell the user: "If this fails to boot, it was probably DMA, so just boot with nodma."

Oh I see, I can enable it with yet another cheatcode. The list grows. Is there any way to save them someplace permanent?

I notice in the script to enable them it can do the CD seperately from the harddisk. Since the harddisk isn't the issue DMA ought to be permanently enabled for it.

Lack of DMA has such a seriously negative impact on system performace it really needs to be mentioned someplace prominent.

jdebay
04-09-2005, 08:17 PM
Thanks for the tip to enable dma...

I was just about to stop using 3.8 cebit-2005 when I enabled dma, drives work correctly, usb devices show up... Interesting...

J