Skip to contentSkip to conversation

Make NFS-Client readahead tunable

RFC Martin Knoblauch 2 participants 2 messages Sep 17, 2008 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

----- Original Message ----

Quoted 9 lines

From: Jim Rees <[email protected]>
To: Martin Knoblauch <[email protected]>
Cc: linux-nfs list <[email protected]>
Sent: Wednesday, September 17, 2008 3:21:49 PM
Subject: Re: [RFC][Resend] Make NFS-Client readahead tunable

There are times when you want to increase nfs readahead instead of decreasing it. I suggest you make the default 15 but allow tuning it either up or down.

We never needed that in our case. But yes, would be trivial. The question is, whether there should be a maximum, just as a safeguard.

Martin

A message that is not in the archive (sent off-list or not yet received): 995475.95604.qm-f6uctMgKLEavuULXzWHTWIglqE1Y4D90QQ4Iyu8u01E@public.gmane.org

#2 lore raw

Martin Knoblauch wrote:

We never needed that in our case. But yes, would be trivial. The question is, whether there should be a maximum, just as a safeguard.

Yes. The default should be (RPC_DEF_SLOT_TABLE - 1), and the maximum should be max(xprt_udp_slot_table_entries, xprt_tcp_slot_table_entries) (maybe minus one).

I wonder if it would make sense to adjust NFS_MAX_READAHEAD when xprt_*_slot_table_entries is changed via sysctl.