When I start CCL with latest Slime, the lx86cl64 process uses 100% CPU time, even when Slime is otherwise idle. REPL works as expected, except for high CPU load.
I can drop CPU load back to 0%, if I change timeout from 1 to 100 like this
--- swank-ccl.lisp 26 Mar 2012 15:09:57 -0000 1.27 +++ swank-ccl.lisp 1 Jul 2012 01:39:52 -0000 @@ -761,7 +761,7 @@ (nconc (ldiff q tail) (cdr tail))) (return (car tail))))) (when (eq timeout t) (return (values nil t))) - (ccl:timed-wait-on-semaphore (mailbox.semaphore mbox) 1)))) + (ccl:timed-wait-on-semaphore (mailbox.semaphore mbox) 100))))
(let ((alist '()) (lock (ccl:make-lock "register-thread")))
My CCL had not been updated for a while, so it could be bug in CCL, I'll try latest SVN build of CCL next
Regards, Max
At Sat, 30 Jun 2012 21:42:03 -0400, Max Mikhanosha wrote:
My CCL had not been updated for a while, so it could be bug in CCL, I'll try latest SVN build of CCL next
Same thing with the CCL from svn trunk.
* Max Mikhanosha [2012-07-01 02:00] writes:
At Sat, 30 Jun 2012 21:42:03 -0400, Max Mikhanosha wrote:
My CCL had not been updated for a while, so it could be bug in CCL, I'll try latest SVN build of CCL next
Same thing with the CCL from svn trunk.
I can't reproduce this: both on a 32 and on 64 bit machine CCL sits there quietly as it should. Have you tried different machines? Just to rule out Linux kernel issues.
Helmut
At Sun, 01 Jul 2012 10:43:04 +0200, Helmut Eller wrote:
- Max Mikhanosha [2012-07-01 02:00] writes:
At Sat, 30 Jun 2012 21:42:03 -0400, Max Mikhanosha wrote:
My CCL had not been updated for a while, so it could be bug in CCL, I'll try latest SVN build of CCL next
Same thing with the CCL from svn trunk.
I can't reproduce this: both on a 32 and on 64 bit machine CCL sits there quietly as it should. Have you tried different machines? Just to rule out Linux kernel issues.
Ended up me doing installing openSUSE security updates, which pulled a new kernel or glibc, and not rebooting the box. Works ok now, sorry for the noise.