Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
Commits
aa11a719
Commit
aa11a719
authored
Apr 18, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix totally bogus file comments.
parent
9ee99237
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
16 deletions
+4
-16
cache_wrw.c
bin/varnishd/cache_wrw.c
+4
-16
No files found.
bin/varnishd/cache_wrw.c
View file @
aa11a719
...
@@ -26,18 +26,10 @@
...
@@ -26,18 +26,10 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
* SUCH DAMAGE.
*
*
* We maintain a number of worker thread pools, to spread lock contention.
* Write data to fd
*
* We try to use writev() if possible in order to minimize number of
* Pools can be added on the fly, as a means to mitigate lock contention,
* syscalls made and packets sent. It also just might allow the worker
* but can only be removed again by a restart. (XXX: we could fix that)
* thread to complete the request without holding stuff locked.
*
* Two threads herd the pools, one eliminates idle threads and aggregates
* statistics for all the pools, the other thread creates new threads
* on demand, subject to various numerical constraints.
*
* The algorithm for when to create threads needs to be reactive enough
* to handle startup spikes, but sufficiently attenuated to not cause
* thread pileups. This remains subject for improvement.
*/
*/
#include "config.h"
#include "config.h"
...
@@ -64,10 +56,6 @@ SVNID("$Id$")
...
@@ -64,10 +56,6 @@ SVNID("$Id$")
#include "cache.h"
#include "cache.h"
/*--------------------------------------------------------------------
/*--------------------------------------------------------------------
* Write data to fd
* We try to use writev() if possible in order to minimize number of
* syscalls made and packets sent. It also just might allow the worker
* thread to complete the request without holding stuff locked.
*/
*/
void
void
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment