All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: DMA transfers in 2.5.67
@ 2003-04-16  9:45 Chuck Ebbert
  2003-04-16 10:11 ` Andrew Morton
  0 siblings, 1 reply; 16+ messages in thread
From: Chuck Ebbert @ 2003-04-16  9:45 UTC (permalink / raw)
  To: Mens Rullgerd; +Cc: linux-kernel, Alan Cox


> Btw, I just noticed that hard disk throughput is much lower with 2.5
> than 2.4.  With 2.4.21-pre5 I get ~40 MB/s, but with 2.5.67 the speed
> drops to 25-30 MB/s.  Everything according to hdparm.  Is it possible
> that DMA is generally slow for some reason?


  I am seeing that too, with IDE hardware.

  And 2.4.20aa1 is even faster:



# mount /ext3_fs
# time dd if=/ext3_fs/100MiB_file of=/dev/null bs=32k



  2.4.20aa1 : 3.3 sec (exactly what I expect to see)
  2.5.66    : 6.6 sec


--
 Chuck

^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: DMA transfers in 2.5.67
@ 2003-04-18 11:25 Chuck Ebbert
  0 siblings, 0 replies; 16+ messages in thread
From: Chuck Ebbert @ 2003-04-18 11:25 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

Andrew Morton wrote:


> > Chuck Ebbert <76306.1226@compuserve.com> wrote:
> > >
> > > # mount /ext3_fs
> > > # time dd if=/ext3_fs/100MiB_file of=/dev/null bs=32k
> > > 
> > >   2.4.20aa1 : 3.3 sec (exactly what I expect to see)
> > >   2.5.66    : 6.6 sec
> > 
> > With this test 2.4 will leave a lot more unwritten dirty data in memory.
> > 
> > You should include a `sync' in the timings.
> 
> Well you should include the sync if you're writing to disk ;)


  :)

  All is not beer and skittles here with Andrea's kernel, though.
Sometimes instead of 31MB/sec I get this with 1 sequential stream:


 1  0  0      0   1232   1120  47988   0   0 14928     0 3834  7534   1  44  55
 1  0  0      0   1372   1120  47848   0   0 14704     0 3778  7446   0  32  68
 1  0  0      0   1464   1064  47816   0   0 14880     0 3822  7501   1  43  56
 1  0  0      0   1336   1064  47944   0   0 14844     0 3813  7493   0  29  71
 1  0  0      0   1432   1064  47848   0   0 14748    32 3800  7467   0  41  59
 1  0  0      0   1532   1064  47748   0   0 13976     0 3596  7045   1  33  66
 


  Pretty high context switch and interrupt rates for a PPro 200, huh?

  And I can't reliably reproduce it (so far...)

------
 Chuck

^ permalink raw reply	[flat|nested] 16+ messages in thread
* DMA transfers in 2.5.67
@ 2003-04-15 20:01 Måns Rullgård
  2003-04-15 20:31 ` Alan Cox
  0 siblings, 1 reply; 16+ messages in thread
From: Måns Rullgård @ 2003-04-15 20:01 UTC (permalink / raw)
  To: linux-kernel


What do I need to do in a driver before doing DMA transfers to a PCI
card?  Using a driver that worked in 2.4 gives a throughput of only 10
MB/s in 2.5.67.  Is there some magic initialization that I have
missed?

-- 
Måns Rullgård
mru@users.sf.net

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2003-04-18 11:17 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-16  9:45 DMA transfers in 2.5.67 Chuck Ebbert
2003-04-16 10:11 ` Andrew Morton
2003-04-16 10:13   ` Andrew Morton
2003-04-16 10:13   ` Måns Rullgård
  -- strict thread matches above, loose matches on Subject: below --
2003-04-18 11:25 Chuck Ebbert
2003-04-15 20:01 Måns Rullgård
2003-04-15 20:31 ` Alan Cox
2003-04-15 21:38   ` Måns Rullgård
2003-04-15 20:48     ` Alan Cox
2003-04-15 22:09       ` Måns Rullgård
2003-04-16  8:36         ` Ivan Kokshaysky
2003-04-16  8:43           ` Måns Rullgård
2003-04-16  8:59             ` Måns Rullgård
2003-04-16  9:30               ` Måns Rullgård
2003-04-16 10:01                 ` Ivan Kokshaysky
2003-04-16 10:11                   ` Måns Rullgård

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.