You are not logged in.

#1 2011-05-01 14:23:42

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

installed pulse-audio - 128 M of temp files upon login

Is this normal when using pulse-audio:

$ ls -l /dev/shm
total 100
-r--------  1 facade users 67108904 May  1 10:16 pulse-shm-2730750796
-r--------  1 facade users 67108904 May  1 10:16 pulse-shm-3048609656
-r--------  1 facade users 67108904 May  1 10:16 pulse-shm-3201059327

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#2 2011-05-01 16:03:31

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,355

Re: installed pulse-audio - 128 M of temp files upon login

Yes


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2011-05-07 08:47:13

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: installed pulse-audio - 128 M of temp files upon login

Are these files actually needed for anything?  If not and if there is no option to disable their creation in a conf somewhere (I found none), I added the following to my ~/.bashrc which takes care of it:

if [ ! -z $(find /dev/shm/ -maxdepth 1 -name "pulse-shm*") ]; then
 for i in $(ls /dev/shm/pulse-shm*); do rm -f $i; done
fi

...is there a more efficient method?

Last edited by graysky (2011-05-07 09:45:34)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2011-05-07 12:22:00

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,355

Re: installed pulse-audio - 128 M of temp files upon login

Why remove them? As far as I can recall, SHM is so pulseaudio can do its 'zero-copy' magic entirely in RAM, otherwise it falls back to using something else (probably something slower). Not clear on the details, if you search 'zero-copy' you should find something.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

Board footer

Powered by FluxBB