From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SSJKs-00070l-U4 for garchives@archives.gentoo.org; Thu, 10 May 2012 02:42:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 12235E08FE; Thu, 10 May 2012 02:42:09 +0000 (UTC) Received: from mail-pb0-f53.google.com (mail-pb0-f53.google.com [209.85.160.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 3585AE0824 for ; Thu, 10 May 2012 02:40:33 +0000 (UTC) Received: by pbbrr13 with SMTP id rr13so1614571pbb.40 for ; Wed, 09 May 2012 19:40:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=UF8+0wBFPDFKpDGov1gGD0PWE3cbjHdAv7KTySZpRwk=; b=mwYqjocG7rpbzUAns0KVial3wP1ySm6C5gxnTFvAkvINSMDQtXvjHsSNiova3vz0uy 7FufzAN0SZhVziYdBrxrxBYWQDPF3uADqZdU1g64ROKPliSWKsqjjQXOqj8gUAL42LSC CLeeVMUBT4caZLqnS2GoBinU1QoazUuKeE11nHEAE+8AmOA1WxDicRq/T/JdaXVs5yob 9TcTLlJPdQe8mf0g09wXJtOPPXRHfsEJ41fZt5sNOYNIHooSpGe/RC/wj3FOWFmPPhTG 5ps63E/yH14Glvs73IFnpowVmqVsVEnFZ1tWG+BM13k/F3wB4IdiQo3u0jjkIwnQaSK3 i+6w== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.68.221.35 with SMTP id qb3mr15176634pbc.136.1336617633566; Wed, 09 May 2012 19:40:33 -0700 (PDT) Received: by 10.68.39.227 with HTTP; Wed, 9 May 2012 19:40:33 -0700 (PDT) In-Reply-To: <4FAB2376.6060804@gmail.com> References: <20120216162948.7eea6070@weird.wonkology.org> <20120218180407.74055f5e@weird.wonkology.org> <20120218220521.1278e023@bluewin.ch> <1705219.vsiCQe2Sr8@weird> <20120507144134.4ea24fc3@weird.wonkology.org> <20120507231123.49125d30@weird.wonkology.org> <20120509214419.34d6bbe4@weird.wonkology.org> <20120509213833.5e9911ba@digimed.co.uk> <20120510030001.0158d406@weird.wonkology.org> <4FAB2376.6060804@gmail.com> Date: Thu, 10 May 2012 12:40:33 +1000 Message-ID: Subject: Re: [gentoo-user] I want to play movies without hangs From: Adam Carter To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 635a53cb-74db-4cf8-b8b3-523b87ca4dab X-Archives-Hash: 6677d1c47c3c758ebdb426599b2db08f > Is there a way to find out what is using swap? =A0Maybe something related > to the video is on swap which at times can be slow, certainly slower > than ram. > > I have always wondered how to find this out myself. Well the OS uses swap, i dont know if its possible to then tie that directly to a process. You can find out if swap is being at all using with vmstat; so=3D swap out, si=3Dswap in. For example, watch the following when you view the video adam@proxy ~ $ vmstat -S M 3 procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu--= -- r b swpd free buff cache si so bi bo in cs us sy id = wa 0 0 0 1290 379 6617 0 0 26 56 108 107 2 3 93 = 2 0 0 0 1290 379 6617 0 0 1 15 87 91 0 0 100= 0 0 0 0 1290 379 6617 0 0 0 0 59 54 0 0 100= 0 0 0 0 1290 379 6617 0 0 0 7 72 73 0 0 100= 0