- 14 Feb, 2012 13 commits
-
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
the VSL coords which are now a property of struct http.
-
Poul-Henning Kamp authored
VSL logging. More to come.
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
vbc's vsl_id. When the vbc is returned, restore the original vsl_id. Change WSLB() to VSLB() and have it take a busyobj as arg.
-
Poul-Henning Kamp authored
buffers wid with the vbc's vsl_id. Flush the buffer when we recycle/close the vbc.
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
Size controlled by param vsl_buffer which will replace shm_workspace. The space comes out of request workspace.
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
locking: Each pool fetches blocks of numbers to assign, then hands them out one by one using the existing lock. Session numbers are 32bit and start at zero on worker process startup. Together with another 32bit number, local to the session, they will be used to link VSL records into transactions.
-
- 13 Feb, 2012 20 commits
-
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
workspace for WRW also.
-
Martin Blix Grydeland authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
difference in practice and complicates the code and increases the size of storage data structures.
-
Poul-Henning Kamp authored
mercy of mallocs rounding algorithm. Fix overly optimistictest-case.
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
conversions to uintmax_t. Use zero to disable upper limit check. Check separately for byte sizes larger than the architecture can do.
-
Poul-Henning Kamp authored
-
Charlie Root authored
-
Tollef Fog Heen authored
-
Tollef Fog Heen authored
thread_pool_workspace is gone, adjust workspace_backend instead
-
Rogier 'DocWilco' Mulhuijzen authored
Found by: Joakim Berg <flashn@glck.net>
-
Rogier 'DocWilco' Mulhuijzen authored
-
Rogier 'DocWilco' Mulhuijzen authored
-
Poul-Henning Kamp authored
-
- 09 Feb, 2012 4 commits
-
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
by the operating system.
-
Poul-Henning Kamp authored
wasting partial pages with likely parameter values.
-
- 08 Feb, 2012 3 commits
-
-
Poul-Henning Kamp authored
Introduce a new "backend workspace" which is used for the backend transactions (bereq.*, beresp.*) Together with the "client workspace" which holds the client transaction (req.*, resp.*) this should make memory management much simpler to understand. The backend workspace lives in "busyobj" rather than the worker thread, which therefore needs a lot less stack, allowing many more threads in the same space. Experiments with thread_pool_stack are encouraged, I wouldn't be surprised if 32k is now enough. The per-thread workspace is still around, known as the "auxiallary workspace", but it is down to 256 bytes and it is only used to hand the acceptor information off to worker threads. Once the dust settles, I may remove it entirely, but I can see a value of having a small amount of fast memory in a thread, so I may also keep it. No promises. Ohh, and I removed a couple of small memory leaks which were only present in -trunk, as a result of a git-mis-merge.
-
Poul-Henning Kamp authored
-
Poul-Henning Kamp authored
-