Hey: On Thu, Feb 12, 2015 at 1:35 PM, Yasuo Ohgaki <yohg...@ohgaki.net> wrote: > Hi Xinchen, > > On Thu, Feb 12, 2015 at 12:37 PM, Xinchen Hui <larue...@php.net> wrote: >> >> > lazy_write=On: Requests per second: 2218.55 [#/sec] (mean) >> > lazy_write=Off: Requests per second: 24.58 [#/sec] (mean) >> I feel.......that might be something wrong :< > > > I do think so. It's Core i7 with 32GB memory and SSD. It did not use > much CPU and network bandwidth during benchmark. I'll wait your fix > (seems unrelated, though) and look into what's wrong. I cannot take > Memcached::setMultiByKey() > [ext/memcached/tests/experimental/setmulti_bykey.phpt] > Memcached::setMulti() [ext/memcached/tests/setmulti.phpt]
are fixed. the other one seems in libmemcached side(get_udp.phpt) > realistic benchmark because of this. I might try it on older machines :( > > If you could take simple session benchmark, number of request / second, > it would be helpful for me to know my system's health. hmm, I will try later thanks > > session.php > <?php > //ini_set('session.save_path', '/home/tmp'); > ini_set('session.save_path', 'PERSISTENT=1 127.0.0.1:11211'); > ini_set('session.save_handler', 'memcached'); > ini_set('session.lazy_write', 1); > ini_set('session.use_strict_mode', 0); > > session_id('testid2'); > session_start(); > //$_SESSION['test'] = ++$_SESSION['test']; > $_SESSION['a'] = str_repeat('a', 102400); > echo '<pre>'; > var_dump(session_id(), ini_get('session.save_handler'), $_SESSION['test']); > ?> > > I get about 15K Reqs/sec for files handler with debug build. > > Regards. > > -- > Yasuo Ohgaki > yohg...@ohgaki.net > -- Xinchen Hui @Laruence http://www.laruence.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php