Bug 480020

Summary: Big latency
Product: [openSUSE] openSUSE 11.1 Reporter: Jakub Rusinek <kontakt>
Component: GNOMEAssignee: E-mail List <gnome-bugs>
Status: RESOLVED UPSTREAM QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: ennoborg, ensonic, forgotten_b49zM5D78q, jgreen
Version: Final   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Jakub Rusinek 2009-02-26 18:00:04 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; pl; rv:1.9.0.6) Gecko/2009011912 Firefox/3.0.6

As adviced on bug 478514, I'm filing a bug about latency in default openSUSE kernel.

Especially interesting for me is question of PulseAudio, so I selected the appropriate process. Below is the output.

   LatencyTOP version 0.4       (C) 2008 Intel Corporation

Cause                                                Maximum     Percentage
fsync() on a file                                 110.7 msec          0.5 %
Scheduler: waiting for cpu                         81.1 msec         45.6 %
Writing a page to disk                             14.6 msec          0.1 %
opening cdrom device                               10.0 msec          0.2 %
Executing raw SCSI command                          5.4 msec          0.2 %
Waiting for event (poll)                            5.0 msec         15.7 %
Waiting for event (select)                          5.0 msec          7.7 %
Userspace lock contention                           5.0 msec         30.0 %
Waiting for event (epoll)                           4.0 msec          0.1 %


Process pulseaudio (2998)                  Total: 3586.0 msec                   
Scheduler: waiting for cpu                         81.1 msec         99.1 %
Waiting for event (poll)                            4.8 msec          0.9 %
Userspace lock contention                           0.1 msec          0.0 %





 gnome-keyring-d  compiz-manager  gvfsd  gvfs-fuse-daemo  pulseaudio  compiz 

Reproducible: Always

Steps to Reproduce:
1. just use openSUSE?
Actual Results:  
Big latency (causing PulseAudio hiccups)

Expected Results:  
Smaller latency (PA working flawlessly)
Comment 1 Jakub Rusinek 2009-02-26 18:10:36 UTC
PS: LatencyTOP was running about 110 minutes when I took the "screen-text-shot".
Comment 2 Greg Kroah-Hartman 2009-02-26 20:34:05 UTC
I see only a minor delay for fsync to happen, which is expected on some journalling filesystems (like ext3).

But these aren't bad numbers at all, what are you expecting to get?
Comment 3 Jakub Rusinek 2009-02-26 20:54:34 UTC
When I was giving alsa-time-test data to Lennart Poeterring, he counted about 200ms latency. Then he posted some mails on the pulseaudio-discuss mailing list.

http://pulseaudio.org/ticket/491#comment:9

If latency is ok, what makes PulseAudio problems appear then?
Comment 4 Enno Borgsteede 2009-02-28 13:49:55 UTC
Hi Greg,

Like Jakub I expect that sound works as good as it did in 11.0. That's all.

On my system, playing music is like playing records sometimes, and that's not the type of nostalgia that I was looking for. :-)

cheers,

Enno
Comment 5 Cyril Hrubis 2009-03-13 15:54:10 UTC
Okay seems to be pulseaudio bug. Moving to gnome-maintainers.
Comment 6 Stefan Sauer 2009-03-14 18:42:14 UTC
Cyril, how do you conclude that this is a pulseaudio bug. Also pulseaudio is not a gnoem component as such.
Comment 7 Tomáš Chvátal 2017-08-10 10:44:42 UTC
Can't reproduce in current releases and with current pulseaudio.

Please report to upstream if the problem still persist.