Gentoo Archives: gentoo-user

From: Adam Carter <adamcarter3@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] I want to play movies without hangs
Date: Thu, 10 May 2012 02:42:35
Message-Id: CAC=wYCFzXwNn5JYqLw=Eij+0Q=MSqyF3oy=XTOWHV=OFHVW6Xw@mail.gmail.com
In Reply to: Re: [gentoo-user] I want to play movies without hangs by Dale
1 > Is there a way to find out what is using swap?  Maybe something related
2 > to the video is on swap which at times can be slow, certainly slower
3 > than ram.
4 >
5 > I have always wondered how to find this out myself.
6
7 Well the OS uses swap, i dont know if its possible to then tie that
8 directly to a process. You can find out if swap is being at all using
9 with vmstat; so= swap out, si=swap in.
10
11 For example, watch the following when you view the video
12
13 adam@proxy ~ $ vmstat -S M 3
14 procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
15 r b swpd free buff cache si so bi bo in cs us sy id wa
16 0 0 0 1290 379 6617 0 0 26 56 108 107 2 3 93 2
17 0 0 0 1290 379 6617 0 0 1 15 87 91 0 0 100 0
18 0 0 0 1290 379 6617 0 0 0 0 59 54 0 0 100 0
19 0 0 0 1290 379 6617 0 0 0 7 72 73 0 0 100 0

Replies

Subject Author
Re: [gentoo-user] I want to play movies without hangs Dale <rdalek1967@×××××.com>