Hi all, On Thu, Jan 22, 2015 at 3:42 PM, Yasuo Ohgaki <yohg...@ohgaki.net> wrote:
> Since it should be faster, I tried to took some benchmarks. Then I found > extremely slow > session (files handler) performance with CLI built in web server > regardless of may patch. > > The script I used is > > <?php > session_start(); > $_SESSION['test'] = 1234; > var_dump(session_id()); > ?> > > Fedora 21 PHP 5.6 (RPM package) > Requests per second: 5916.41 [#/sec] (mean) > > Fedora 21 Master (no debug, no zts) > Requests per second: 949.56 [#/sec] (mean) > > Simple script like "echo 1234;" seems working well. > > Does anyone have any insight on this? > I think I found what's wrong. I've switched to btrfs recently. It seems btrfs performs very poor with large directory entry compared to ext4. With ext4, I think I didn't observe much performance drop, but btrfs drops performance a _lot_ with large directory entry. I didn't expect this. It seems I need ext4 (or reiser4/reiserfs/xfs) Regards, -- Yasuo Ohgaki yohg...@ohgaki.net