lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.61.0608210003310.32565@yvahk01.tjqt.qr>
Date:	Mon, 21 Aug 2006 00:04:52 +0200 (MEST)
From:	Jan Engelhardt <jengelh@...ux01.gwdg.de>
To:	Lee Revell <rlrevell@...-job.com>
cc:	Denis Vlasenko <vda.linux@...glemail.com>,
	Eric Piel <Eric.Piel@...mplin-utc.net>,
	mplayer-users@...ayerhq.hu, linux-kernel@...r.kernel.org
Subject: Re: mplayer + heavy io: why ionice doesn't help?

>> > > >It helps. mplayer skips much less, but still some skipping is present.
>> > > 
>> > > Try with -ao alsa, then it should skip less, or at least, if it skip, skip 
>> > > back so that less audio is lost.
>> > > When playing audio-only files, it is always wise to specify e.g. -cache 320
>> > > which proved to be a good value for my workloads.
>> > 
>> > Only with the very latest versions of mplayer does ALSA work at all.
>> > It's unusable here because it resets the auduio stream on each underrun
>> > rather than simply ignoring them.
>> 
>> I'm not sure that I ever got an underrun (may check it
>> for you if you need that, how to do it?),
>> but mplayer -ao alsa is working for me just fine.
>
>You probably don't get underruns because your machine is fast.  Mine is
>a 600Mhz Via board, but I know this is an mplayer ALSA driver bug
>because it works perfectly with -ao oss, and because mplayer's ALSA
>driver maintainer has acknowledged the bug.

Good to hear. mpg123 and ogg123 all behave nice (without nice, ionice, or 
other priority adjustments) even under disk load.


>I think the problem is also due to mplayer's faulty design.  It should
>be multithreaded and use RT threads for the time sensitive work, like

Heh sounds like you need MplayerXP.

>all professional AV applications and many other consumer players do.




Jan Engelhardt
-- 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ