9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] 3e mpg123 plays on off on off on off on 4e
@ 2002-05-02 21:58 Russ Cox
  2002-05-03  8:45 ` Don
  0 siblings, 1 reply; 9+ messages in thread
From: Russ Cox @ 2002-05-02 21:58 UTC (permalink / raw)
  To: 9fans

> Without recompiling mpg123 I just used it to play an mp3 file that
> is served over (my hacked wrt '-l user' in attach message) u9fs.
> It no plays a second, pauses a (part of?) a second, plays again, pauses
> again, etc etc. The load on the machine is pretty low -- lower than
> I recall from using mpg123 on 3e.

Try copying the mp3 over to local disk first.
I'm assuming that won't change anything, in which
case you should make sure you've disabled the usb
driver.

Russ


^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: [9fans] 3e mpg123 plays on off on off on off on 4e
@ 2002-05-03 14:58 Russ Cox
  2002-05-03 15:13 ` Axel Belinfante
  0 siblings, 1 reply; 9+ messages in thread
From: Russ Cox @ 2002-05-03 14:58 UTC (permalink / raw)
  To: 9fans

One more thing to try.

Instead of

	mp3dec < file
or	mp3dec file

do

	cat file | cat | mp3dec

The pipes will get you some buffering
which in turn will induce some readahead.

It could be that we're just not doing a good
job with scheduling this particular task,
although that doesn't really explain the
fs/u9fs discrepancy.

Russ


^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: [9fans] 3e mpg123 plays on off on off on off on 4e
@ 2002-05-03 14:42 Russ Cox
  2002-05-03 14:58 ` Axel Belinfante
  0 siblings, 1 reply; 9+ messages in thread
From: Russ Cox @ 2002-05-03 14:42 UTC (permalink / raw)
  To: 9fans

I believe you that the 3e installation worked fine.
Much has changed, though.  One thing you might try
is boot your 3e installation (if you still have it)
but use the 4e u9fs (which speaks both protocols).

Maybe I managed to make u9fs even slower than it
was, although I expect it should be about the same.

What if you just time cp?  Can you see a difference
between fs and u9fs?  Between 3e and 4e u9fs?

Russ


^ permalink raw reply	[flat|nested] 9+ messages in thread
* [9fans] 3e mpg123 plays on off on off on off on 4e
@ 2002-05-02 21:53 Axel Belinfante
  0 siblings, 0 replies; 9+ messages in thread
From: Axel Belinfante @ 2002-05-02 21:53 UTC (permalink / raw)
  To: 9fans

Without recompiling mpg123 I just used it to play an mp3 file that
is served over (my hacked wrt '-l user' in attach message) u9fs.
It no plays a second, pauses a (part of?) a second, plays again, pauses
again, etc etc. The load on the machine is pretty low -- lower than
I recall from using mpg123 on 3e.

Anyone any ideas?

Axel -- who will now run to catch his train.



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

end of thread, other threads:[~2002-05-03 15:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-02 21:58 [9fans] 3e mpg123 plays on off on off on off on 4e Russ Cox
2002-05-03  8:45 ` Don
2002-05-03 10:12   ` Axel Belinfante
2002-05-03 14:23     ` Axel Belinfante
  -- strict thread matches above, loose matches on Subject: below --
2002-05-03 14:58 Russ Cox
2002-05-03 15:13 ` Axel Belinfante
2002-05-03 14:42 Russ Cox
2002-05-03 14:58 ` Axel Belinfante
2002-05-02 21:53 Axel Belinfante

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).