Luis Lavena
2006-Nov-28 12:48 UTC
[Mongrel] Mongrel, Mutex and FastThread results for win32.
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
MenTaLguY
2006-Nov-29 04:10 UTC
[Mongrel] Mongrel, Mutex and FastThread results for win32.
On Tue, 2006-11-28 at 09:48 -0300, Luis Lavena wrote:> Could anyone on the list confirm these stability enhancement > on other platforms?I''d also be interested to see if there are any noticable differences with: $fastthread_avoid_mem_pools = true -mental -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part Url : http://rubyforge.org/pipermail/mongrel-users/attachments/20061128/a0f6be39/attachment.bin