[Mongrel] Mongrel, Mutex and FastThread results for win32.

Luis Lavena luislavena at gmail.com
Tue Nov 28 07:48:09 EST 2006


Hello Guys,

Been testing fastthread (known on previous releases as
optimized_locking) for soon to be released 0.3.18 mswin32 gems
(official ones).

Attached to this message is the ruby script I used for the test
results shown on graphics [1] and [2]

The idea of the script is simulate what Mongrel do with threads
creating a simple workload for testing Ruby VM stability.

[1] refers to normal, unmodified ruby Mutex functionality under Windows.
[2] is fastthread overlay modification (which must be loaded prior
ruby thread functions).

What you can see from both graphs, is the similarities of both
results, but unmodified Mutex slightly increments its memory "peak"
values.

Could anyone on the list confirm these stability enhancement on other platforms?

AFAIK, the huge memory leakage only affects *nix versions of ruby, I
couldn't reproduce the problem shown by Zed on the list [3], and my
results, back in august [4]

[1] http://mmediasys.com/mongrel/mutex-rb.png
[2] http://mmediasys.com/mongrel/mutex-fastthread.png
[3] http://rubyforge.org/pipermail/mongrel-users/2006-August/001239.html
[4] http://rubyforge.org/pipermail/mongrel-users/2006-August/001253.html

-- 
Luis Lavena
Multimedia systems
-
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any goal that
is worthwhile.
Vince Lombardi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mutex_test.rb
Type: application/octet-stream
Size: 932 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/mongrel-users/attachments/20061128/181e86d2/attachment.obj 


More information about the Mongrel-users mailing list