Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

gzip compression work unit size?

Discussion in 'Workarounds and Optimization' started by Jared Cardigan, May 9, 2019.

  1. Jared Cardigan

    Jared Cardigan Registered

    May 9, 2019
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    What value should the number of kilobyte chunks per compression work unit actually be? Backups regularly cause serious load spikes on a 24-core box with 32gb RAM that normally sits at a load average of 9.0--even with the compression level set below the default of 6, (4) and the number of simultaneous threads set to 1 (the default of 1/core makes me shudder)

    cPanel documentation doesn't give any substantial information about how to set this value effectively other than including a default of 4096kb.

    What would be the difference in recommended values between, say, a 4mb cache and a 40mb cache? What constitutes "larger" when the (?) mentions:

    "Number of kilobyte chunks per compression work unit (Minimum: 128; Maximum: 524,288) [?]
    The size (in 1024 byte chunks) of compression work units to be distributed to each pigz process. Default is 4096. Systems with larger L2/L3 caches may benefit from higher values."

    Any advice would be welcome.
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello @Jared Cardigan,

    Can you open a support ticket so that one of our Technical Analysts can take a closer look to rule out any additional issues beyond this setting? You can post the ticket number here and we'll link this thread to it.

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice