Re: DMA Vs Programmed IO

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

> 
> Note that you miss the OS here. Usually, when using DMA the process
> blocks and later an interrupt wakes it up. Sleep and wakeup carry
> overhead that may be bigger than the gains of making the CPU available.
> 

Yes, but the speed of the CPU now and ever has been much
greater than
that of the devices and interconnect. And therefore the
overhead
of the CPU would not be that great as that with devices.
Also, during
this time while device is working on the request, CPU can be
utilized.


> with read/write instructions (i.e. in/out or ld/st) can have the
> drawback that they may requre address phase with certain busses and
> bridges, i.e. no burst. Bus master devices usually perform burst
> transfers, thus the gain is twofold: a) faster transfers b) available
> CPU.
> 

I m in sync with it. Thanks for putting it more explicitly
than I did.


Thanks,
Sumit

> ~velco
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
begin:vcard 
n:Agarwal;Sumit
tel;fax:(91)(80)2200196
tel;home:+919845205210
tel;work:2051126
x-mozilla-html:FALSE
url:www.hp.com
org:HP-ISO;HPUX
version:2.1
email;internet:aksumit@india.hp.com
title:Senior Software Engineer
adr;quoted-printable:;;Hewlett-Packard,=0D=0AIndia Software Operation Pvt. Ltd.,=0D=0A29, Cunningham Road,=0D=0A;Bangalore;Karnataka;560052;India
fn:Sumit Agarwal
end:vcard

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux