Re: Issues with Patch: "sched: Improve latencies and throughput"

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michael Grzeschik
Date: Thursday, April 1, 2010 - 1:43 am

On Thu, Apr 01, 2010 at 07:49:46AM +0200, Mike Galbraith wrote:

What we did was:

# Copy some audiofile to /dev/shm
$ cp audiofile.wav /dev/shm

# Play that file with aplay in background
$ aplay /dev/shm/auduifile.wav &

# Put some scheduling load on the system
$ hackbench 6

We did use this on an MX31 from Freescale running with about 500 MHz and
the generic usbaudio driver to play the audio throgh an C-Media USB
audiodongle.

Expected results with that patch:

underrun!!! (at least 323.946 ms long) < -- aplay
underrun!!! (at least 59.477 ms long)  < --     "
underrun!!! (at least 194.873 ms long) < --     "
Time: 7.048                            < -- hackbench
Time: 6.841                            < --     "
underrun!!! (at least 115.456 ms long) < -- aplay
underrun!!! (at least 37.849 ms long)  < --     "
underrun!!! (at least 588.637 ms long) < --     "
Time: 7.23                             < -- hackbench

results without the patch:

Time: 3.728                            < -- hackbench
underrun!!! (at least 58.557 ms long)  < -- aplay
Time: 3.771                            < -- hackbench
underrun!!! (at least 97.538 ms long)  < -- aplay
Time: 3.732                            < -- hackbench
Time: 3.630                            < --  ....
Time: 3.636
Time: 3.643

Thanks,
mgr

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Issues with Patch: "sched: Improve latencies and throu ..., Michael Grzeschik, (Thu Apr 1, 1:43 am)