Re: pmcstat and squid

2007-04-13 Thread Stanislav Sedov
Hi! Have the problem been solved somehow? I'm experiencing the same problems on 6-STABLE with squid. Apache seems to be OK. -- Stanislav Sedov ST4096-RIPE pgprJiUUGvNZm.pgp Description: PGP signature

Re: pmcstat and squid

2006-12-11 Thread Adrian Chadd
There's plenty of squid process pid entries in the output of pmcstat -R. This was gathered with pmcstat -S instructions -O samples.out. pmcstat -R samples.out -g just generates kernel.gmon. The top of the file: initlog 0x1020003 "AMD_K7" allocate 0x101 "k7-retired-instructions" 0x2 sample

Re: pmcstat and squid

2006-12-11 Thread Joseph Koshy
Squid is running but there's no profiling information for it still.. Could you run grep the output of `pmcstat -R' (no "-g") for mention of the squid processes pids. Also, try pmcstat -v -v (for a breakup of the buckets). -- FreeBSD Volunteer, http://people.freebsd.org/~jkoshy

Re: pmcstat and squid

2006-12-11 Thread Adrian Chadd
On 12/12/06, Joseph Koshy <[EMAIL PROTECTED]> wrote: I can think of one of two scenarios: 1) the squid process was in the kernel when the samples got taken. This could happen if the process was say in select() handling all the time. 2) There a bug in my process handling code that is

Re: pmcstat and squid

2006-12-11 Thread Joseph Koshy
I'm trying to use pmcstat to profile userspace time used in Squid. I just can't seem to get pmcstat to report anything useful. The last thing I tried was something like: # pmcstat -O file -P instructions -t # pmcstat -R file -g # ls k7-retired-instructions kernel.gmon There doesn't seem to be

pmcstat and squid

2006-12-11 Thread Adrian Chadd
I'm trying to use pmcstat to profile userspace time used in Squid. I just can't seem to get pmcstat to report anything useful. The last thing I tried was something like: # pmcstat -O file -P instructions -t # pmcstat -R file -g # ls k7-retired-instructions kernel.gmon There doesn't seem to be