From: Daniel H. <dhe...@te...> - 2010-01-15 07:23:17
|
On Thu, 14 Jan 2010, Yue Li wrote: > Then run my multithreading program again, and still, all the threads > occupy one of the two cores when running, and the speed up is very > trivial. > > Here did I miss something on configuring the GC? or I am totally out > of the correct direction? I think you hit a common problem. The official SBCL binaries are built single-threaded. To get a multithreaded build, you must build it yourself. This isn't very hard. Download and extract the SBCL sources somewhere. The INSTALL file tells you what to do and how to enable threads (see sections 2.1 and 2.2). I don't think this is a GC issue. Later, Daniel |