forked from memcached/memcached
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable use of large memory pages (Trond Norbye) <[email protected]>
Initial support for solaris. git-svn-id: http://code.sixapart.com/svn/memcached/trunk/server@724 b0b603af-a30f-0410-a34e-baf09ae79d0b
- Loading branch information
Trond Norbye
authored and
Trond Norbye
committed
Feb 25, 2008
1 parent
c12ebb2
commit a6b35b4
Showing
5 changed files
with
131 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
Date: Tue, 20 Feb 2008 | ||
From: Trond Norbye <[email protected]> | ||
|
||
When started with -L memcached will try to enable large memory | ||
pages, and preallocate all memory up front. By using large memory | ||
pages memcached could reduce the number of TLB misses (depending | ||
on the access pattern), and hence improve performance. | ||
|
||
See http://en.wikipedia.org/wiki/Translation_lookaside_buffer for | ||
a description of TLB. | ||
|
||
Date: Fri, 5 Sep 2003 20:31:03 +0300 | ||
From: Anatoly Vorobey <[email protected]> | ||
To: [email protected] | ||
|
@@ -44,7 +55,8 @@ high percentage of memory is wasted. The most efficient way to reduce | |
the waste is to use a list of size classes that closely matches (if | ||
that's at all possible) common sizes of objects that the clients | ||
of this particular installation of memcached are likely to store. | ||
For example, if your installation is going to store hundreds of thousands of objects of the size exactly 120 bytes, you'd be much better | ||
For example, if your installation is going to store hundreds of | ||
thousands of objects of the size exactly 120 bytes, you'd be much better | ||
off changing, in the "naive" list of sizes outlined above, the class | ||
of 128 bytes to something a bit higher (because the overhead of | ||
storing an item, while not large, will push those 120-bytes objects over | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters