ScottAM wrote: > ...accurately tells the true story - near the song beginning it gets as > high as 0.6 or so, and then slowly drifts down. When it reports 0.0 I > hear stuttering. If I pause the music and let a bunch of sends happen, > and then unpause, the ratio is over .9 - and stays there for a bit but > then drifts back down to 0, and stutters again. Why are you letting the buffer gets so empty ? When the buffer gets low - the server should be topping it up.
> I'm having trouble believing that the thread in my server that's > delivering buffers is lagging - it's using the real time scheduler with > a priority of 97, and nothing else runs that high. CPU use is trivially > low. Nagle is off. Nothing else but the trivial file read in that loop > is blocking. send() is just returning very late, and only when it's > pointed at a Classic. So is it TCP window edge and acknowledgements ? Without a trace or somehting hard info - all we have is your interpretation. AFAICT you still have said what is the audio format you are sending to player ? PCM, , Flac, MP3, ? > Edit: to make it more interesting, on the last run I watched the numbers > throughout. The classic took a bunch of buffers initially and the > fullness got above .99. And it stayed there for a long while, > consistently above .99, which is what I'd expect. But then it abruptly > started drifting down, and fairly quickly, even though sends were still > happening - though the send time was gradually creeping up to 1.5s. It would be nice to have a trace so data exchange and relative timings can be examined. > I would swear this is just a bad squeezebox - I just got it - but I have > another squeezebox that's worked for years and now it stutters too - > though nowhere near as badly or often. Were Classics ever known to have > really weird implementations of TCP? No TCP implementation is good but you need to be careful of TCP window edge moving - IIRC the edge is only moved once audio is played not when data is received by player. ------------------------------------------------------------------------ bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=110986 _______________________________________________ unix mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/unix
