Ticket #1729 (new defect)

Opened 10 years ago

Last modified 13 months ago

pulseaudio consumes 6% cpu time constantly

Reported by: lindi Owned by: openmoko-devel
Priority: normal Milestone:
Component: unknown Version:
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:
Reproducible:

Description

Steps to reproduce:
1) boot the system

Expected results:
1) system should be mostly idle

Actual results:
1) pulseaudio consumes 6% cpu time according to top.

More info:
1) I am using

http://buildhost.openmoko.org/daily/freerunner/200807/20080722/Openmoko-openmoko-devel-image-glibc-ipk-P1-Snapshot-20080722-om-gta02.rootfs.jffs2

http://buildhost.openmoko.org/daily/freerunner/200807/20080730/uImage-2.6.24+git25+8533927964761f4e2078ccd8607b90f5acc60b93-r1-om-gta02.bin

on freerunner.

2) strace -p pidof pulseaudio -f -o /tmp/s -s245 -tt shows the following patterns:

1381  22:15:42.054924 SYS_298(0x8001, 0x411d3cfc, 0x2, 0x1000, 0x3952634c) = 0
1381  22:15:42.058088 SYS_298(0x8001, 0x411d3d62, 0x1, 0x1800, 0x4ccc8) = 0
1381  22:15:42.059321 ioctl(17, 0xc0844123, 0x4e668) = 0
1381  22:15:42.061548 ioctl(17, 0xc0844123, 0x4e668) = 0
1381  22:15:42.062966 ioctl(17, 0xc0844123, 0x4e668) = 0
1381  22:15:42.064297 ioctl(17, 0xc0844123, 0x4e668) = 0
1381  22:15:42.065431 ioctl(17, 0xc0844123, 0x4e668) = 0
1381  22:15:42.066598 SYS_298(0x8001, 0x411d3cfc, 0x2, 0x1000, 0x39527000) = 0
1381  22:15:42.071400 SYS_298(0x8001, 0x411d3d62, 0x1, 0x1800, 0x4ccc8) = 0
1381  22:15:42.072529 ioctl(17, 0xc0844123, 0x4e668) = 0
1381  22:15:42.073744 ioctl(17, 0xc0844123, 0x4e668) = 0
1381  22:15:42.075161 ioctl(17, 0xc0844123, 0x4e668) = 0
1381  22:15:42.076298 ioctl(17, 0xc0844123, 0x4e668) = 0
1381  22:15:42.077434 ioctl(17, 0xc0844123, 0x4e668) = 0
1381  22:15:42.078697 SYS_298(0x8001, 0x411d3cfc, 0x2, 0x1000, 0x39528000) = 0
1381  22:15:42.083701 SYS_298(0x8001, 0x411d3d62, 0x1, 0x1800, 0x4ccc8) = 0
1381  22:15:42.084831 ioctl(17, 0xc0844123, 0x4e668) = 0
1381  22:15:42.086077 ioctl(17, 0xc0844123, 0x4e668) = 0
1381  22:15:42.087488 ioctl(17, 0xc0844123, 0x4e668) = 0
1381  22:15:42.088713 ioctl(17, 0xc0844123, 0x4e668) = 0
1381  22:15:42.091026 ioctl(17, 0xc0844123, 0x4e668) = 0

and

# ls -l /proc/1381/fd/17
lrwx------    1 root     root           64 Aug  2 22:16 /proc/1381/fd/17 -> /dev/snd/pcmC0D0p

shows that it is really talking to the sound card.

Change History

comment:1 Changed 10 years ago by johnleach

Confirmed here on the same image AND after a opkg upgrade:

root@om-gta02:~# opkg list_installed pulse*
pulseaudio-lib-alsa-util - 0.9.10-r4 - 
pulseaudio-lib-authkey - 0.9.10-r4 - 
pulseaudio-lib-authkey-prop - 0.9.10-r4 - 
pulseaudio-lib-cli - 0.9.10-r4 - 
pulseaudio-lib-iochannel - 0.9.10-r4 - 
pulseaudio-lib-ioline - 0.9.10-r4 - 
pulseaudio-lib-ipacl - 0.9.10-r4 - 
pulseaudio-lib-packet - 0.9.10-r4 - 
pulseaudio-lib-pdispatch - 0.9.10-r4 - 
pulseaudio-lib-protocol-cli - 0.9.10-r4 - 
pulseaudio-lib-protocol-esound - 0.9.10-r4 - 
pulseaudio-lib-protocol-native - 0.9.10-r4 - 
pulseaudio-lib-protocol-simple - 0.9.10-r4 - 
pulseaudio-lib-pstream - 0.9.10-r4 - 
pulseaudio-lib-pstream-util - 0.9.10-r4 - 
pulseaudio-lib-socket-server - 0.9.10-r4 - 
pulseaudio-lib-socket-util - 0.9.10-r4 - 
pulseaudio-lib-strlist - 0.9.10-r4 - 
pulseaudio-lib-tagstruct - 0.9.10-r4 - 
pulseaudio-module-alsa-sink - 0.9.10-r4 - 
pulseaudio-module-alsa-source - 0.9.10-r4 - 
pulseaudio-module-cli - 0.9.10-r4 - 
pulseaudio-module-cli-protocol-unix - 0.9.10-r4 - 
pulseaudio-module-esound-protocol-unix - 0.9.10-r4 - 
pulseaudio-module-native-protocol-unix - 0.9.10-r4 - 
pulseaudio-module-simple-protocol-tcp - 0.9.10-r4 - 
pulseaudio-server - 0.9.10-r4 - 

comment:2 Changed 10 years ago by lindi

Installing pulseaudio-module-suspend-on-idle_0.9.10-r4_armv4t.ipk and adding

load-module module-suspend-on-idle

to /etc/pulse/session seems to solve this. Is there any chance you could make this default?

comment:3 Changed 10 years ago by RuiSeabra

root@om-gta02:/etc/wpa_supplicant# ps axfuw | grep 1374
root      1374 10.6  2.3  16732  2972 ?        S<Lsl 13:28   4:23 /usr/bin/pulseaudio --no-cpu-limit --resample-method=trivial -D -nF /etc/pulse/session

root@om-gta02:/etc/wpa_supplicant# strace -c -p 1374
Process 1374 attached - interrupt to quit
Process 1374 detached
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 99.52   21.367374       55356       386           poll
  0.25    0.053164          34      1542           gettimeofday
  0.23    0.050000       50000         1           restart_syscall
------ ----------- ----------- --------- --------- ----------------
100.00   21.470538                  1929           total

I don't seem to have that module installed.

comment:4 Changed 13 months ago by Chassmetly

Levitra Bayer Originale <a href=http://kama1.xyz>Buy Kamagra</a> Viagra All'Estero Vriligy <a href=http://cial5mg.xyz/cialis-price.php>Cialis Price</a> Amoxicillin Ph Online Prevacid Coupon <a href=http://cial5mg.xyz/how-to-buy-cialis.php>How To Buy Cialis</a> Vrai Viagra En Ligne Doxycycline Worldwide <a href=http://cial1.xyz/cheap-cialis-40mg.php>Cheap Cialis 40mg</a> Canadian Pharmacy Viagra No Prescription Buy Cheap Antabuse Online <a href=http://zol1.xyz/generic-zoloft-cheapest.php>Generic Zoloft Cheapest</a> Acheter Cialis Super Active Buy Orlistat 120mg Malaysia <a href=http://viag1.xyz/order-viagra-pills.php>Order Viagra Pills</a> Propecia Centro Caverta Online Review <a href=http://kama1.xyz/buy-cheap-kamagra-site.php>Buy Cheap Kamagra Site</a> Buy Propecia In Europe Kamagra Acheter Sur Internet <a href=http://cial1.xyz/cialis.php>Cialis</a> Prostate Gland Infection And Cephalexin Acheter Cialis Occasion <a href=http://cial1.xyz/buying-cialis-online.php>Buying Cialis Online</a> Pediatric Amoxicillin Dosage Cialis Was Ist Dass <a href=http://zol1.xyz/cheap-zoloft-no-rx.php>Cheap Zoloft No Rx</a> Rxpills Cialis Want To Buy Bentyl Formulex <a href=http://cial1.xyz/generic-cialis-online.php>Generic Cialis Online</a> Will Zithromax Treat Sinus Infection Buy Ocuvir Cream <a href=http://cial1.xyz/buy-online-cialis.php>Buy Online Cialis</a> Buy Priligy Germany Order Canada Amoxicillin 500mg Capsule <a href=http://cial1.xyz/cheapest-cialis-online.php>Cheapest Cialis Online</a> Kmonlinepharmacy primetime.Big deal so the total cost of the loan will be and the interest rate will be. <a href=http://money-loan-today.com>cash loans online</a> The problem is Im not a big corporation.Venta Cialis Valencia <a href=http://viag1.xyz/cheap-viagra.php>Cheap Viagra</a> Comprar Cialis En Espana Online Kamagra Plus <a href=http://kama1.xyz/order-generic-kamagra.php>Order Generic Kamagra</a> Can You Get High On Amoxicillin Keflex To Lower Blood Sugar <a href=http://kama1.xyz/order-kamagra-pills.php>Order Kamagra Pills</a> Amoxicillin Without Presciption Comparatif Viagra Com <a href=http://viag1.xyz/viagra-for-sale.php>Viagra For Sale</a> Levaquin Discount Cold Sores Keflex <a href=http://kama1.xyz/order-cheap-kamagra.php>Order Cheap Kamagra</a> Buy Topamax Without A Script Ed Pills Online Legal <a href=http://kama1.xyz/kamagra-price.php>Kamagra Price</a> Viagra Rx Paypal Prednisone Brand For Sale <a href=http://viag1.xyz/cheap-viagra-fast.php>Cheap Viagra Fast</a> Amoxicillin Prescribed For Is Levlen The Same As Seasonique <a href=http://kama1.xyz/low-cost-kamagra-online.php>Low Cost Kamagra Online</a> 200 Mg Viagra Sale Cephalexin And Hcpcs <a href=http://cial1.xyz/cheap-cialis-online.php>Cheap Cialis Online</a> Vend Viagra Achat Cialis Tadalafil Dosis <a href=http://viag1.xyz/viagra-for-sale.php>Viagra For Sale</a> Patient Reviews For Propecia Il Cialis Non Fa Effetto <a href=http://cial1.xyz/cialis-5mg.php>Cialis 5mg</a> Propecia Epilobio Wirkung Viagra Mann <a href=http://viag1.xyz/cheap-viagra-fast.php>Cheap Viagra Fast</a> Best Price Cephalexin Priligy Se Vende En Peru <a href=http://viag1.xyz/price-of-viagra.php>Price Of Viagra</a> Cialis Prix De Vente Viagra Mercado Libre <a href=http://nolvadex.ccrpdc.com/pharmacy-nolvadex.php>Pharmacy Nolvadex</a> Precio Viagra Con Receta Acheter Cialis Levitra Viagra <a href=http://zol1.xyz/buy-zoloft-online-cheap.php>Buy Zoloft Online Cheap</a> Manufacturing Amoxicillin Levitra Efectos Adversos <a href=http://cial5mg.xyz/buy-generic-cialis-online.php>Buy Generic Cialis Online</a> Isotretinoin With Free Shipping Visa Ospamox <a href=http://zol1.xyz/order-zoloft-in-usa.php>Order Zoloft In Usa</a> Cialis In Slovenia Buying Tretinoin In Singapore <a href=http://kama1.xyz/kamagra-online-pharmacy.php>Kamagra Online Pharmacy</a> El Viagra Tiene Vencimiento Where To Buy Valtrex Online <a href=http://cial5mg.xyz/how-to-buy-cialis.php>How To Buy Cialis</a> Finasteride Avodart Propecia Kamagra Oral Gel <a href=http://levitra.ccrpdc.com/levitra-ordering.php>Levitra Ordering</a> Healthyman Quanto Costa Il Viagra In Italia <a href=http://cial1.xyz/cialis-free-offer.php>Cialis Free Offer</a> Zithromax And Lyme Disease Teladifil Canada Buy <a href=http://zol1.xyz/zoloft-online-pharmacy.php>Zoloft Online Pharmacy</a> Baclofen Achat 25mg Cialis Brevetto <a href=http://viag1.xyz/fast-shipping-viagra.php>Fast Shipping Viagra</a> Levitra Deezer Keflex When Pregnant <a href=http://cial1.xyz/cialis-viagra.php>Cialis Viagra</a> Cialis Beneficios Cephalexin 500 Mg Dose For Son <a href=http://accutane.ccrpdc.com/how-to-buy-accutane.php>How To Buy Accutane</a> Viagra Pfizer Pas Cher En Quimper Achat Kamagra Dijon <a href=http://cialis.ccrpdc.com/tadalafil-online.php>Tadalafil Online</a> Amoxicillin Zithromax

Note: See TracTickets for help on using tickets.