Re: 2.5.38-mm3

Dipankar Sarma (dipankar@in.ibm.com)
Sat, 28 Sep 2002 10:59:40 +0530


On Sat, Sep 28, 2002 at 12:54:39AM -0400, Zwane Mwaikambo wrote:
> On Fri, 27 Sep 2002, William Lee Irwin III wrote:
>
> > On Sat, Sep 28, 2002 at 12:35:30AM -0400, Zwane Mwaikambo wrote:
> > > Mine is a UP box not an SMP kernel, although preempt is enabled;
> > > 0xc013d370 <fget>: push %ebx
> > > 0xc013d371 <fget+1>: mov %eax,%ecx
> > > 0xc013d373 <fget+3>: mov $0xffffe000,%edx
> > > 0xc013d378 <fget+8>: and %esp,%edx
> > > 0xc013d37a <fget+10>: incl 0x4(%edx)
> >
> > Do you have instruction-level profiles to show where the cost is on UP?
>
> Unfortunately no, i was lucky to remember to even be running profile=n on
> this box.

That is sufficient to get instruction level profile. Just use
the hacked readprofile by tridge (it's available somewhere in his
samba.org webpage).

I suspect that inlining fget() will help, not sure whether that is
clean code-wise.

Thanks

-- 
Dipankar Sarma  <dipankar@in.ibm.com> http://lse.sourceforge.net
Linux Technology Center, IBM Software Lab, Bangalore, India.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/