1. 02 Jun, 2024 2 commits
  2. 28 May, 2024 1 commit
  3. 27 May, 2024 3 commits
  4. 22 May, 2024 7 commits
  5. 21 May, 2024 9 commits
  6. 10 May, 2024 3 commits
  7. 25 Mar, 2024 2 commits
  8. 01 Mar, 2024 3 commits
  9. 19 Feb, 2024 3 commits
  10. 14 Feb, 2024 6 commits
    • Nils Goroll's avatar
      Bring back cramming to fellow_busy_seg_memalloc() · c57d7879
      Nils Goroll authored
      Ref #60
      c57d7879
    • Nils Goroll's avatar
      Add a cramlimit function on page sizes · bef98385
      Nils Goroll authored
      bef98385
    • Nils Goroll's avatar
      Rename for clarity · 3b9df28e
      Nils Goroll authored
      3b9df28e
    • Nils Goroll's avatar
      Optimize segment memory allocation further · bee79167
      Nils Goroll authored
      If the page from the segmem pool is too big, do not just trim it, but
      rather trade it for a smaller page if that is sufficient.
      
      Ref #60
      bee79167
    • Nils Goroll's avatar
      Neuter fetch_chunksize from Varnish-Cache and allocate chunksize · 0dd59f23
      Nils Goroll authored
      ... if it looks like we were handling chunked encoding.
      
      fellow has (and needs to have) its own strategy for allocating growing
      objects and is basically working around the fetch_chunksize coming
      from varnish-cache by recording if subsequent allocation requests are
      growing the object (for chunked encoding) or are converging onto a
      maximum (for content-length).
      
      Now this strategy had an undesired side effect, that the newly
      introduced fbo_segmem pool is always allocating the chunk size, but
      the disk segment allocation was using the size from varnish-cache,
      which, for the example in the ticket, would lead to 1MB chunks being
      allocated, but trimmed down to only 16kb - for each allocation.
      
      We now explicitly test if varnish-cache is requesting fetch_chunksize
      and, if so, allocate the chunk size.
      
      This brings the disk segment allocation in line with the mempool.
      
      On the other hand, for chunked encoding, we will still over-allocate
      and trim when the actual object is smaller than the chunk size, but
      this is by design.
      
      Fixes #60
      0dd59f23
    • Nils Goroll's avatar
      Rename variable for clarity · f58dca47
      Nils Goroll authored
      while working on #60
      f58dca47
  11. 09 Feb, 2024 1 commit