Displaying 20 results from an estimated 2000 matches similar to: "Fastthread memory leak?"
2007 Mar 20
10
fastthread 1.0
Well, just when I thought I was out of the fastthread business...
Okay, in brief:
fastthread is a Ruby extension which re-implements the primitives in
Ruby''s thread.rb in C. It was merged into 1.8.6, replacing the old
thread.rb implementation, but the version that was merged had a couple
serious bugs.
So -- now I release fastthread 1.0, which is basically the Ruby 1.8.6
version with
2006 Nov 28
1
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,
2007 Feb 14
4
fastthread-0.6.4.1 released
== NOW
A new version of fastthread, the library providing better
implementations of the classes in thread.rb, has been released.
Please note that fastthread is only for Ruby 1.8, not JRuby or any other
Ruby implementation (most of them don''t need it anyway!).
== WHY
The existing implementation of Mutex, Queue, etc. in thread.rb is slow.
fastthread''s is faster (and bypasses
2007 Jan 04
5
fastthread -- what is it?
Hi,
A quick search didn''t explain what fastthread is, and how it relates
to mongrel. Why would I want to install fastthread?
Thanks,
Joe
2007 Jan 19
7
fastthread 0.6.2
It looks like I got too creative in 0.6.1 and consequently ran afoul of
a bug in the Ruby interpreter. 0.6.2 works around the bug and should be
entirely stable at this point.
Thanks to Young Hyun for his help in coming up with test cases.
== what?
fastthread is a Ruby library which provides a faster (and
non-memory-leaking) C implementation of the concurrency primitives from
stdlib''s
2006 Dec 26
7
Rubygems 0.9.0.8 and Fastthread problem
Heya Folks-
This is mainly for Zed and Mentalguy. I have been playing with the
new release of rubygems 0.9.0.8 and I have a major problem with the
requirement that fastthread needs to be required before thread. Just
requiring rubygems and then requiring fastthread right after that
will throw the error:
ez _blog $ ruby
require ''rubygems''
require
2007 Apr 30
5
ERROR: Failed to build gem native extension.
Hi all,
I''d really appreciate some help with this...
As you see below, I tried to install mongrel after updating my gems, but I
get the error shown:
sudo gem install mongrel
Select which gem to install for your platform (i486-linux)
1. mongrel 1.0.1 (ruby)
2. mongrel 1.0.1 (mswin32)
3. mongrel 1.0 (mswin32)
4. mongrel 1.0 (ruby)
5. Skip this gem
6. Cancel installation
> 1
2006 Dec 16
3
fastthread 0.5.3
I''ve just committed fastthread 0.5.3, which finally gives us a working
SizedQueue (which hadn''t really ever worked in previous versions).
Mostly it was just a matter of refactoring Queue and SizedQueue into a
single class behind the scenes, so I could move the signalling of the
SizedQueue-specific condition variable inside the queue''s critical
section. Failing to do so
2006 Dec 31
3
fastthread 0.6.1
I just realized -- if fastthread can be included while Mutex-using code
is already running, then the definition and replacement of the classes
needs to happen atomically. Otherwise, it creates a race condition
where a thread can e.g. end up seeing an incompletely defined Mutex
class or none at all.
fastthread 0.6.1 addresses this by defining the classes and then
atomically swapping the constant
2007 Nov 18
18
mongrel and fastthread on ruby 1.9?
Is anybody testing mongrel on ruby 1.9. I just tried installing
mongrel on trunk 1.9 and trunk rubygems and got this error compiling
fastthread:
/Users/stephen/dev/ruby/1.9_trunk/bin/ruby extconf.rb install mongrel --no-rdoc
creating Makefile
make
gcc -I.
-I/Users/stephen/dev/ruby/1.9_trunk/include/ruby-1.9/i686-darwin8.10.1
-I/Users/stephen/dev/ruby/1.9_trunk/include/ruby-1.9 -I.
2007 Dec 22
12
error when installing on jruby (fastthread dependency)
I''m running jruby trunk which has integrated rubygems 1.0.0 and when
I try and install mongrel with gem it blows up when the fastthread
dependency tries to do a native compilation.
I couldn''t find a copy of the gemspec in the svn checkout but looking
at the one installed when gem installing mongrel didn''t show any
platform differentiation. There is platform
2006 Dec 01
1
no more wedged mongrels with fastthread
With Mongrel 0.3.18, I have not seen a single one of the hangs that I
have been grousing about for the past N weeks.
Thanks MenTaLguY and Zed!
Q: Mongrel loads fastthread, Mongrel loads Rails, Rails loads OCI8,
OCI8 requires ''thread''. That means OCI8 is using fastthread too,
right?
Steve
2007 Mar 14
1
ruby 1.8.6 includes fastthread?
It looks like fastthread was rolled into 1.8.6:
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/tags/v1_8_6/NEWS?revision=12055&view=markup
Does that mean once we upgrade to 186 we can forget about rubygem version?
- Rob
2007 Apr 28
1
backgroundrb and fastthread
I was just curious if anyone noticed any significant performance
improvements using fastthread (or Ruby 1.8.6) with BackgrounDRb
Brandon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url :
2008 Jan 02
20
fastthread no longer needed?
I''m confused. Wasn''t threading fixed in 1.8.6, negating the need for
fastthread? Why is fastthread still a requirement of Mongrel? Just
curious. :)
2006 Dec 01
2
fastthread 0.5
Just a quick note that I''ve committed the bits for fastthread 0.5; the
most important differences are that all the thread.rb classes are once
again marshallable, and we''ve got Luis'' commit which eliminates some
warnings when building on Win32.
-mental
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type:
2008 Jun 06
1
package needed: fastthread-1.0.2
I''ve just committed the makings of fastthread-1.0.2 to SVN, fixing a
couple long-standing bugs in 1.0.1:
- merged the fix from ruby_1_8 to avoid rb_bugging during exit with
waiting threads
- SizedQueue#enq is now defined properly
Could you or whoever does the signed gems please turn the crank and
upload the new gems?
Thanks,
-mental
-------------- next part --------------
A
2007 Jun 19
1
fastthread errors on Debian Etch
Hi all,
I am strangely getting errors on Debian Etch on a Intel server though
I had done an identical install of mongrel-1.0.1 on an amd64 version
of Etch.
While building fastthreads I get:
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
ruby extconf.rb install mongrel
creating Makefile
make
gcc -I.
2006 Nov 23
0
fastthread 0.4
fastthread is a library which replaces the synchronization primitives
defined in stdlib?s thread.rb (Mutex, ConditionVariable, Queue, and
SizedQueue) with optimized versions which:
* are much faster (in the non-contention case, speed comparable to
direct use of Thread.critical or Thread.exclusive)
* don?t leak memory (the stdlib implementation of Mutex manages to
2006 Dec 26
0
[PATCH] Fastthread 0.5.3.1 with merb edge (124)
I checked out the latest merb ''trunk'' and after installing it as a gem...
(fresh install)
I got the dreaded "fastthread not loaded: fastthread must be required before
thread" error when starting up an instance of merb. Even without dRB.
So I patched the merb.rb file to include fastthread before anything else if
it''s installed.
Check it.
Merry Christmas!