Re: Link performance over NFS degraded in RHEL5. -- was : Read/Write NFS I/O performance degraded by FLUSH_STABLE page flushing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Peter Staubach <staubach@xxxxxxxxxx> wrote on 06/04/2009 05:07:29 PM:

> > What I'm trying to understand is why RHEL 4 is not flushing anywhere 
near 
> > as often. Either RHEL4 erred on the side of not writing, and RHEL5 is 
> > erring on the opposite side, or RHEL5 is doing unnecessary flushes... 
I've 
> > seen that 2.6.29 flushes less than the Red hat 2.6.18-derived kernels, 
but 
> > it still flushes a lot more than RHEL 4 does.
> >
> > 
> 
> I think that you are making a lot of assumptions here, that
> are not necessarily backed by the evidence.  The base cause
> here seems more likely to me to be the setting of PG_uptodate
> being different on the different releases, ie. RHEL-4, RHEL-5,
> and 2.6.29.  All of these kernels contain the support to
> write out pages which are not marked as PG_uptodate.
> 
>        ps
I'm trying to find out why the paging/flushing is happening. It's 
incredibly trivial to reproduce, just link something large over NFS. RHEL4 
writes to the smbd file about 150x, RHEL 5 writes to it > 500x, and 2.6.29 
writes about 340x. I have network traces showing that. I'm now trying to 
understand why... So we an determine if there is anything that can be done 
about it...

Trond's note about a getattr change that went into 2.6.16 may be important 
since we have also seen this slowdown on SuSE 10, which is based on 2.6.16 
kernels. I'm just a little unsure of why the gcc linker would be calling 
getattr... Time to collect more straces, I guess, and then to see what 
happens under the covers... (Be just my luck if the seek eventually causes 
nfs_getattr to be called, though it would certainly explain the behavior.)
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux