From 512624b62839f5ffe0faebfceb49411b10ee38bf Mon Sep 17 00:00:00 2001 From: kosaki Date: Wed, 4 May 2011 12:13:02 +0000 Subject: * benchmark/bm_io_select2.rb: reduce number of using file descriptors. because gdb need some fds. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- benchmark/bm_io_select2.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'benchmark/bm_io_select2.rb') diff --git a/benchmark/bm_io_select2.rb b/benchmark/bm_io_select2.rb index a4925b5100..7b167af774 100644 --- a/benchmark/bm_io_select2.rb +++ b/benchmark/bm_io_select2.rb @@ -5,7 +5,7 @@ nr = 1000000 max = Process.getrlimit(Process::RLIMIT_NOFILE)[0] puts "max fd: #{max} (results not apparent with <= 1024 max fd)" -((max / 2) - 2).times do +((max / 2) - 10).times do ios.concat IO.pipe end -- cgit v1.2.3