All of lore.kernel.org
 help / color / mirror / Atom feed
From: Horatiu N <horatiu@ddhosted.com>
To: kvm@vger.kernel.org
Subject: qemu-kvm swapping even though vm.swappiness = 0
Date: Fri, 23 May 2014 12:21:09 +0300	[thread overview]
Message-ID: <537F1305.8040703@ddhosted.com> (raw)
In-Reply-To: <537F104A.1030805@ddhosted.com>


on a 64gb ram node with 1gb swap i have swappiness=0
but still i see qemu-kvm swapping and when the swap fills (the kernel?) 
kills the pids

|  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM TIME+  SWAP COMMAND
  7394 qemu      20   0 1447m 734m 5024 S  0.7  1.1  6:20.96  28m qemu-kvm
  8028 qemu      20   0 1438m 725m 4984 S  0.3  1.1  6:30.10  26m qemu-kvm
12901 qemu      20   0 1430m 717m 4984 S  0.3  1.1  9:09.98  24m qemu-kvm
  4873 qemu      20   0 1443m 723m 4984 S  0.3  1.1  6:25.04  23m qemu-kvm
13449 qemu      20   0 1431m 719m 5012 S  0.3  1.1  7:06.87  22m qemu-kvm
14323 qemu      20   0 1423m 713m 4984 S  0.3  1.1  7:09.72  22m qemu-kvm
  5928 qemu      20   0 1425m 729m 4984 S  0.3  1.1  8:49.56  22m qemu-kvm
  4566 qemu      20   0 1427m 718m 5024 S  0.7  1.1  6:18.85  21m qemu-kvm
10016 qemu      20   0 1440m 734m 4984 S  0.3  1.1  8:47.30  20m qemu-kvm
  5472 qemu      20   0 1448m 738m 4968 S  0.0  1.1  6:09.98  20m qemu-kvm
11653 qemu      20   0 1441m 736m 4984 S  0.7  1.1  7:01.75  19m qemu-kvm
11294 qemu      20   0 1418m 696m 5020 S  0.3  1.1  6:44.25  19m qemu-kvm

that's a top Op[enter]

[root@node ~]# sysctl vm.swappiness
vm.swappiness = 0

[root@node ~]# free -m
              total       used       free     shared buffers     cached
Mem:         64394      35944      28450          0 9531       6564
-/+ buffers/cache:      19848      44545
Swap:         1021        575        446

:(
sad panda.
|






           reply	other threads:[~2014-05-23  9:21 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <537F104A.1030805@ddhosted.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=537F1305.8040703@ddhosted.com \
    --to=horatiu@ddhosted.com \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.