Oh, I was commenting on possible files_lock contention on mbligh's
NUMA-Q.
>
> Small SMP boxen (dual?) used similarly will probably see additional
> gains as the number of locked operations in fget() will be reduced.
> There's clearly no contention or cacheline bouncing in my workloads as
> none of them have tasks sharing file tables, nor is anything else
> messing with the cachelines.
I remember seeing fget() high up in specweb profiles. I suspect that
fget profile count is high because it just happens to get called very
often for most workloads (all file syscalls) and the atomic
operations (SMP) and the function call overhead just adds to the cost.
If possible, we should try inlining it too.
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/