SlackwareThis Forum is for the discussion of Slackware 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.
First, finding posts on DMA is tough because the search engine appears to not search on short terms.
Second, I am using Slackware 14.1 on my systems.
Here's the problem....apparently the optical drive does not come up as a DMA device. This can be a problem when booting off optical, but it is a bigger issue if frequent backups are done via the optical drive.
I am open to any suggestions as to how to proceed in understanding this issue.
It would be very good to have optical drive IO done via DMA.
The first thing I would try is a session with hdparm on the drive investigating. Does it do dma? does that improve the read times. man hdparm for options. hdparm -i and -I are interesting. Mine says SATA ≤ 3.0, udma ≤ 5, and ATA/ATAPI ≤7, and that's a recent drive. You should not get higher than ata ≥ 4 without DMA.
So it may not say dma, but if it's running a fast mode it's doing it.
-I Request identification info directly from the drive, which is displayed in a new expanded format with considerably more detail than with the
older -i option.
Is yours a PATA device = on an old style ide ribbon?
If so, make sure the ribbon is 80 way, and not 40way. The extra lines are earths to stop cross talk.
I get similar results from hdparm. Just because it is capable, doesn't mean that DMA is on. So if I do hdparm -d 1 /dev/sr0, I am told that DMA failed.
The instant machine is a SATA drive, but I note similar on an IDE drive on a different system.
I believe what is happening is that DMA is never activated, even for the SATA drive, at system start.
I also believe that PIO is probably fast enough for the drive, but DMA might incur less overhead on large transfers.
I think you are right. It doesn't actually matter a hoot on the cd. The disk surface seems to affect read speeds more than anything else. read speeds are all ≤ 3MB/S here with various cds, cdrs curiously being faster than pressed disks.
The sata drive will make a difference if it is not dma. Usually it loses dma because it has been grabbed by the wrong driver, and this was a principal reason for me building my own kernel in days gone by.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.