Topic: Cog & syslogd in Leopard

Just wanted to report that in versions r613 and r622, Cog invokes the syslog daemon in OS X 10.5 (syslogd) which then consumes around 60-70% of CPU cycles on my PPC G5 dual Powermac. Cog itself consumes about 18% - not sure what it would be without syslogd. (The earlier, official download, version of Cog crashes on launch.)

This doesn't prevent usage of Cog, but is of course not ideal - I'm continuing to use this great little program anyway when not doing CPU-intensive work!

Re: Cog & syslogd in Leopard

It's likely the debug messages Cog is printing out.

Re: Cog & syslogd in Leopard

OK, thanks. Is that the norm for interim builds?

Re: Cog & syslogd in Leopard

Usually yes, but things do need cleaning up for the 0.07 release, so I took care of them. Try out r623+ when it becomes available.

Re: Cog & syslogd in Leopard

Will do, thanks.

Re: Cog & syslogd in Leopard

I wonder if this is related to the short dropouts I'm hearing with Leopard every now and then on r613.  It never did that with Tiger, and it doesn't seem to be related to anything I'm doing.  I'll have to load up Activity Monitor and see if there are CPU spikes when it happens.

Re: Cog & syslogd in Leopard

Yep, this appears to be the culprit.  I caught syslogd hogging one core for about 10 seconds, and at about the 5 second mark there was a dropout.  The only other app running was Firefox and it wasn't doing much.

Re: Cog & syslogd in Leopard

I guess I'll have to start being more thrifty with my debug messages. hmm

Re: Cog & syslogd in Leopard

That's some serious debugging!  I think syslogd just hangs around because it likes my tunes.

Re: Cog & syslogd in Leopard

Just wanted to report that while the latest development build does not peg the CPU anymore, I am still hearing occasional dropouts (buffer underruns) with 10.5.1.  It seems to happen after very small CPU spikes, like going forward or backwards a page in Firefox.  Must be something related to scheduler changes in 10.5.

System is a Macbook Pro C2D 2.33Ghz, 2GB RAM.  Clean 10.5 install.

Perhaps I should open a new thread for this?

Re: Cog & syslogd in Leopard

Yeah, open a new thread please.