down on windows. On my machine I run our tests 4 times faster
in linux then in Windows. I can only attribute that to the
ruby windows implementation.
My personal observations indicate that the Windows FS is relatively
slower than Linux (and, frankly, every other FS I’ve ever benchmarked
against). I don’t think it’s just the Ruby implementation (which is
just using the posix compatible functions underneath the hood afaik),
but I’ve noticed similar results using Perl. Note that there used to
be issues with the Ruby implementation back in the 1.6.x days, but
those were addressed.
I’ve even written pretty straightforward wrappers for native Win32 API
functions (e.g. CreateFile), and it was actually a little slower than
the current implementation in Ruby. And before any Windows folks get
their panties in a bunch, I actually head the Win32 Utils project, so
I’m not some random Windows basher. Of course, using the native
functions does let you do things like asynchronous IO, but that’s
In my own very informal and never-to-be-published benchmarks, FreeBSD
actually performed the best on identical hardware (I was using a
multi-boot setup). On a side note, I’ve heard that the Vista FS is
supposed to be much improved.
This communication is the property of Qwest and may contain confidential
privileged information. Unauthorized use of this communication is
prohibited and may be unlawful. If you have received this communication
in error, please immediately notify the sender by reply e-mail and
all copies of the communication and any attachments.