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

Attachment: mutex_test.rb
Description: Binary data

_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to