XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Zstd instead of zlib?

    Scheduled Pinned Locked Moved Xen Orchestra
    5 Posts 2 Posters 211 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ForzaF Offline
      Forza
      last edited by

      In file /etc/xensource/xapi-ssl.conf there is a line compression=zlib. I read somewhere that XOA supports Zstd for backups. Is it possible to change this line to zstd to get improved performance?

      ; Autogenerated by /opt/xensource/libexec/xapissl 
      ; during xapi start-up.
      ;
      fips = no
      pid = /var/run/xapissl.pid
      socket = r:TCP_NODELAY=1
      socket = a:TCP_NODELAY=1
      socket = l:TCP_NODELAY=1
      socket = r:SO_KEEPALIVE=1
      socket = a:SO_KEEPALIVE=1
      compression = zlib
      
      
      [xapi]
      accept = :::443
      connect = 80
      cert = /etc/xensource/xapi-ssl.pem
      ciphers = !SSLv2:RSA+AES128-SHA256:RSA+AES256-SHA:RSA+AES128-SHA:RSA+RC4-SHA:RSA+RC4-MD5:RSA+DES-CBC3-SHA
      TIMEOUTclose = 0
      options = NO_SSLv2
      sslVersion = all
      
      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        I don't think it might be done "like that", plus I'm not sure the gain will be important.

        1 Reply Last reply Reply Quote 0
        • ForzaF Offline
          Forza
          last edited by

          I noticed that when transferring from a local SR the Domain Controller load goes up to about 300-400%. I am assuming this is partly because zlib isn't that effective CPU wise.

          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            Transferring what?

            1 Reply Last reply Reply Quote 0
            • ForzaF Offline
              Forza
              last edited by

              Normal backup jobs. In this case it is the "full" copy of the VDI I just moved to a local SR (due to maintenance on the NFS) I mentioned here https://xcp-ng.org/forum/topic/2247/moved-vdi-delta-backup-restarts-on-full. I see that Control Domain load is high and in top I see this:
              ea0c91a9-d64d-4403-b97e-e00103b6f7a2-image.png

              At the moment it is only one disk left to transfer, but there were 3 to start with, so the load was higher in the beginning.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post