XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Home
    2. Andreas
    3. Best
    A
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 14
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Memory in vm half as fast after migration of vm.

      @olivierlambert
      I have set it to this

      Static: 512 MiB/32 GiB
      Dynamic: 32 GiB/32 GiB
      

      could not change static value

      okay did a migration again
      but unfortunately the same result

      Before migration

      #redis-benchmark -r 1000000 -n 2000000 -t get,set,lpush,lpop -P 16 -q
      SET: 223363.84 requests per second
      GET: 235793.44 requests per second
      LPUSH: 247954.38 requests per second
      LPOP: 251572.33 requests per second
      

      After migration

      #redis-benchmark -r 1000000 -n 2000000 -t get,set,lpush,lpop -P 16 -q
      SET: 111844.31 requests per second
      GET: 118119.54 requests per second
      LPUSH: 116083.34 requests per second
      LPOP: 116795.14 requests per second
      

      After reboot off VM on the second server

      #redis-benchmark -r 1000000 -n 2000000 -t get,set,lpush,lpop -P 16 -q
      SET: 244468.91 requests per second
      GET: 254647.31 requests per second
      LPUSH: 261848.66 requests per second
      LPOP: 261574.69 requests per second
      
      posted in Compute
      A
      Andreas
    • Memory in vm half as fast after migration of vm.

      Run latest xcp-ng 8.2
      Memory half as fast after migration of vm.

      Have 3 exactly the same servers.
      I have a VM web server that uses redis
      and if i run a memory test and then migrate the VM to another server, it's half as fast.
      if I migrate back to the same server, it's still half as fast.
      but if I restart the VM, the speed is as it should be again.

      See speed test below

      #redis-benchmark -r 1000000 -n 2000000 -t get,set,lpush,lpop -P 16 -q
      SET: 227401.94 requests per second
      GET: 258431.33 requests per second
      LPUSH: 254291.17 requests per second
      LPOP: 263192.53 requests per second
      
      after migrating to another server
      
      #redis-benchmark -r 1000000 -n 2000000 -t get,set,lpush,lpop -P 16 -q
      SET: 100065.05 requests per second
      GET: 111944.48 requests per second
      LPUSH: 114129.20 requests per second
      LPOP: 112549.23 requests per second
      

      after migrating to the first server and restarting the vm

      #redis-benchmark -r 1000000 -n 2000000 -t get,set,lpush,lpop -P 16 -q
      SET: 218245.31 requests per second
      GET: 239721.91 requests per second
      LPUSH: 261643.11 requests per second
      LPOP: 261506.28 requests per second
      

      Wonder if anyone else has had this problem and knows the cause or has a solution.

      posted in Compute
      A
      Andreas