Subject: "fastfib" in the gf package faster than "fib"
From: Richard Hennessy
Date: Tue, 8 Jul 2008 17:00:11 -0400
I have written a prime number generator in C++ that used 2 threads on a core duo and so was almost twice as fast. Legacy PC code is commonly one thread and that was fine at the time. I had to rethink the primes algorithm, two cores or more changes everything... A lot of programmers are no longer annoyed at having to deal with two threads. It's way better when they are not queued for execution one at a time on a single core.
Rich
------------Original Message------------
From: RT/EUS" <raymond.toy at ericsson.com>
To: "Richard Hennessy" <rvh2007 at comcast.net>
Cc: "Stavros Macrakis" <macrakis at alum.mit.edu>, "Maxima List" <maxima at math.utexas.edu>
Date: Tue, Jul-8-2008 4:45 PM
Subject: Re: [Maxima] "fastfib" in the gf package faster than "fib"
Richard Hennessy wrote:
> Any chance of Maxima or some Lisp implementations soon being able to use core duo correctly (e.g. multi-threading)? My PC has 2 cores and Maxima never uses more than %50 of the available CPU time. I have written screen savers that use %100 percent but who cares about that. I don't use them. Why fry my CPU?
SBCL supports threads. I think openmcl does too. Maxima doesn't use
any threads so I don't know what benefit you might see, if any.
Ray