|
Re: [announce] php: mcache extension 1.0: msg#00060web.cache.memcached
On Thu, 2005-01-20 at 01:00 -0800, Sean Chittenden wrote: > > Benchmarking libmemcache in c directly... > > Performed 40000 sets in 2.248915 seconds. > > Performed 40000 gets in 2.234578 seconds. > > Performed 20000 gets of 2 values at once in 1.205434 seconds. > > Anecdotally, I'd be interested in your tests of this against 1.2.1 > given it has some logic to reduce CPU cycles on hashing when there is > only one server. CRC32 is reasonably inexpensive, but avoiding it all > together is certainly cheaper. :) -sc > Actually, I was under the impression you introduced that optimization in 1.2.0, in fact I checked, and the hashing is not being called with one server under 1.2.0. Here is the benchmark with 1.2.1 howerver: Benchmarking libmemcache in c directly... Performed 40000 sets in 2.213733 seconds. Performed 40000 gets in 2.144761 seconds. Performed 20000 gets of 2 values at once in 1.218654 seconds. As you can see, the gets where slightly faster (maybe not statistically significant though)... so maybe I'm missing something and the hash was getting called in 1.2.0. -- John A. McCaskey Software Development Engineer Klir Technologies, Inc. johnm@xxxxxxxx 206.902.2027 |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | memcache(3) 1.2.1 RELEASE [bug fix]: 00060, Sean Chittenden |
|---|---|
| Next by Date: | Re: [announce] php: mcache extension 1.0: 00060, Sean Chittenden |
| Previous by Thread: | Re: [announce] php: mcache extension 1.0i: 00060, Sean Chittenden |
| Next by Thread: | Re: [announce] php: mcache extension 1.0: 00060, Sean Chittenden |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |