All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: ~800 mountpoint limitation
@ 2003-10-14 16:27 Ogden, Aaron A.
  2003-10-14 16:44 ` Trond Myklebust
  0 siblings, 1 reply; 13+ messages in thread
From: Ogden, Aaron A. @ 2003-10-14 16:27 UTC (permalink / raw)
  To: Trond Myklebust; +Cc: nfs


Excellent!  I was hoping that you were following the discussion.  It is
something you can fix though?  It seems that RPC may be involved as
well...

Is there any hope of a patch for 2.4.20+ or is this strictly 2.6 code?

-----Original Message-----
From: Trond Myklebust [mailto:trond.myklebust@fys.uio.no]=20
Sent: Tuesday, October 14, 2003 11:06 AM
To: Ogden, Aaron A.
Cc: nfs@lists.sourceforge.net
Subject: Re: [NFS] ~800 mountpoint limitation


>>>>> " " =3D=3D Aaron A Ogden <Ogden> writes:

     > Hello all, This limitation has been confirmed to my
     > satisfaction, I just had a test machine crack at 799
     > mountpoints, so it seems that Chuck's RPC theory may be
     > correct.  Mike Waychison and Eric Werme mentioned that Solaris
     > and HPUX use a multiplexed scheme to reduce the number of ports
     > required for NFS clients, perhaps that is the direction linux
     > NFS/RPC should be heading.

Yes, I already started work on that. In fact a patch already exists on

  http://www.fys.uio.no/~trondmy/src/2.5.73/linux-2.5.73-09-xprt.dif

to multiplex all RPC traffic to a given server/port combination
through a single socket.

It's been put on hold though due to a combination of higher priority
interrupts, and now the 2.6.0 code-freeze...

Cheers,
  Trond


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: ~800 mountpoint limitation
@ 2003-12-15 15:46 Ogden, Aaron A.
  0 siblings, 0 replies; 13+ messages in thread
From: Ogden, Aaron A. @ 2003-12-15 15:46 UTC (permalink / raw)
  To: Ian Kent, Trond Myklebust; +Cc: Ogden, Aaron A., nfs



> -----Original Message-----
> From: Ian Kent [mailto:raven@themaw.net]=20
> Sent: Monday, December 15, 2003 7:34 AM
> To: Trond Myklebust
> Cc: Ogden, Aaron A.; nfs@lists.sourceforge.net
> Subject: RE: [NFS] ~800 mountpoint limitation
>=20
> [---snip---]
>=20
> If the patch is OK with you then I will have a go at back porting it
to=20
> 2.4. If Aaron is able to, we can have him hammer it to death and
perhaps=20
> collect some performance data.
>=20
> Comments please?
> Ian

Sounds great, I am running autofs-4.1.0 on two test machines and have
not encountered any problems yet.  The test machines are RH 7.3 with
kernel 2.4.20-24 + autofs4-20031201.  The patch discussed in this thread
is intended to correct the RPC problems yes? (limit of ~800 mountpoints,
etc.)  If it works I feel that it would be a welcome addition to linux
even if it isn't strictly necessary for most people.

I have other machines I can run the new code on, so yes, I can test it
out.  We have more than 800 users so I can break the old code just by
walking down the auto_home map.  Hopefully the new code will be able to
handle more mounts and at greater speed without failing... =20

-A


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: ~800 mountpoint limitation
@ 2003-10-17 17:37 Ogden, Aaron A.
  0 siblings, 0 replies; 13+ messages in thread
From: Ogden, Aaron A. @ 2003-10-17 17:37 UTC (permalink / raw)
  To: Trond Myklebust, Lever, Charles; +Cc: nfs


According to MW and EW (Sun and HP, respectively) this is the way it's
done on Solaris and HPUX so I think it's safe to say it's a proven
concept.  You go Trond!!  :-D

> I'm not really sure that I buy the argument about the server disks
> getting busy. That will tend to hit you whether or not you are sharing
> RPC slots, since it also ties up server resources.
>=20
> The main point with putting all the transport to a given server on one
> socket is that the UDP/TCP congestion control algorithms can then
> function efficiently. Instead of competing against other packets
> originating from itself, the client only has to deal with competition
> from other clients.
>=20
> Cheers,
>   Trond


-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: ~800 mountpoint limitation
@ 2003-10-17 15:09 Lever, Charles
  2003-10-17 16:41 ` Trond Myklebust
  0 siblings, 1 reply; 13+ messages in thread
From: Lever, Charles @ 2003-10-17 15:09 UTC (permalink / raw)
  To: Trond Myklebust; +Cc: nfs

> The main point with putting all the transport to a given server on one
> socket is that the UDP/TCP congestion control algorithms can then
> function efficiently. Instead of competing against other packets
> originating from itself, the client only has to deal with competition
> from other clients.

i guess i would buy that if someone could convince me the RPC client
would actually do fair load balancing if given the opportunity.  my
own experience with multi process workloads is that we aren't there
yet.  in other words, TCP is *designed* to handle network contention,
so i don't have a problem letting multiple sockets from the same
client duke it out for network bandwidth.

i also have some SMP scalability concerns.  using a single transport
means we have many processes on several CPUs that are contending
for the socket buffer space, the socket and xprt locks, and that are
holding the BKL while issuing RPCs.

i know that NFSv4 is designed to work with a single connection to
a server... so this is coming whether i like it or not  :^)  i hope
we can arrive at a design that addresses the NFSv4 requirements and
increases the per-client mount limit substantially, but does not
suffer from the scalability issues i have raised.


-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise 
Linux in the Boardroom; in the Front Office; & in the Server Room 
http://www.enterpriselinuxforum.com
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: ~800 mountpoint limitation
@ 2003-10-14 17:03 Ogden, Aaron A.
  2003-10-15 13:01 ` Ian Kent
  0 siblings, 1 reply; 13+ messages in thread
From: Ogden, Aaron A. @ 2003-10-14 17:03 UTC (permalink / raw)
  To: Lever, Charles, trond.myklebust; +Cc: nfs


Even so, mounting from 800 separate fileservers would provide much more
than we have now.  I wonder if there is any real-world site that could
even approach 800 NFS servers?  (and if so, why???)  With the RPC
limitations of today I can shatter the limit very easily, all I have to
do is mount all of my home directories, there are more than 800.

Re: scalability and performance, I think I'll let Trond and Neil comment
on that, but Trond's patch for 2.5.73 sounds like a big improvement over
the current situation.

I've also noticed that I get RPC errors when I try to mount too many
things at once, for example if I mount 200+ autofs-managed NFS
mountpoints via script by cd'ing into them.  If I insert a short pause
(1/2 second to 1 second) between each mount attempt everything is fine.
Sounds like some kind of race condition to me...

-A

-----Original Message-----
From: Lever, Charles [mailto:Charles.Lever@netapp.com]=20
Sent: Tuesday, October 14, 2003 11:45 AM
To: Ogden, Aaron A.
Cc: nfs@lists.sourceforge.net
Subject: RE: [NFS] ~800 mountpoint limitation


trond has heard my complaints about this before....

sharing an RPC transport socket across mounts is an
interesting solution in some ways, but i'm concerned
about the performance scalability of this solution,
especially since the RPC slot table size is fixed at
a relatively small 16 entries.  imagine sharing 16
RPC slots across all the mounts on a very busy
multi-user system.  if one mount backs up (say
because one of the server's disks gets busy), that
makes all the mounts sharing that slot table unusable.

this solution also won't allow you to mount more than
800 different servers, for similar reasons to today's
800 mounts per client limitation.  you can still only
have about 800 transport sockets.

so there are some issues to be worked out.


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 13+ messages in thread
* RE: ~800 mountpoint limitation
@ 2003-10-14 16:45 Lever, Charles
  2003-10-17 14:55 ` Trond Myklebust
  0 siblings, 1 reply; 13+ messages in thread
From: Lever, Charles @ 2003-10-14 16:45 UTC (permalink / raw)
  To: Ogden, Aaron A.; +Cc: nfs

trond has heard my complaints about this before....

sharing an RPC transport socket across mounts is an
interesting solution in some ways, but i'm concerned
about the performance scalability of this solution,
especially since the RPC slot table size is fixed at
a relatively small 16 entries.  imagine sharing 16
RPC slots across all the mounts on a very busy
multi-user system.  if one mount backs up (say
because one of the server's disks gets busy), that
makes all the mounts sharing that slot table unusable.

this solution also won't allow you to mount more than
800 different servers, for similar reasons to today's
800 mounts per client limitation.  you can still only
have about 800 transport sockets.

so there are some issues to be worked out.

> -----Original Message-----
> From: Ogden, Aaron A. [mailto:aogden@unocal.com]
> Sent: Tuesday, October 14, 2003 12:28 PM
> To: Trond Myklebust
> Cc: nfs@lists.sourceforge.net
> Subject: RE: [NFS] ~800 mountpoint limitation
>=20
>=20
>=20
> Excellent!  I was hoping that you were following the=20
> discussion.  It is
> something you can fix though?  It seems that RPC may be involved as
> well...
>=20
> Is there any hope of a patch for 2.4.20+ or is this strictly 2.6 code?
>=20
> -----Original Message-----
> From: Trond Myklebust [mailto:trond.myklebust@fys.uio.no]=20
> Sent: Tuesday, October 14, 2003 11:06 AM
> To: Ogden, Aaron A.
> Cc: nfs@lists.sourceforge.net
> Subject: Re: [NFS] ~800 mountpoint limitation
>=20
>=20
> >>>>> " " =3D=3D Aaron A Ogden <Ogden> writes:
>=20
>      > Hello all, This limitation has been confirmed to my
>      > satisfaction, I just had a test machine crack at 799
>      > mountpoints, so it seems that Chuck's RPC theory may be
>      > correct.  Mike Waychison and Eric Werme mentioned that Solaris
>      > and HPUX use a multiplexed scheme to reduce the number of ports
>      > required for NFS clients, perhaps that is the direction linux
>      > NFS/RPC should be heading.
>=20
> Yes, I already started work on that. In fact a patch already exists on
>=20
>   http://www.fys.uio.no/~trondmy/src/2.5.73/linux-2.5.73-09-xprt.dif
>=20
> to multiplex all RPC traffic to a given server/port combination
> through a single socket.
>=20
> It's been put on hold though due to a combination of higher priority
> interrupts, and now the 2.6.0 code-freeze...
>=20
> Cheers,
>   Trond
>=20
>=20
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> SourceForge.net hosts over 70,000 Open Source Projects.
> See the people who have HELPED US provide better services:
> Click here: http://sourceforge.net/supporters.php
> _______________________________________________
> NFS maillist  -  NFS@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs
>=20


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 13+ messages in thread
* ~800 mountpoint limitation
@ 2003-10-14 15:51 Ogden, Aaron A.
  2003-10-14 16:06 ` Trond Myklebust
  0 siblings, 1 reply; 13+ messages in thread
From: Ogden, Aaron A. @ 2003-10-14 15:51 UTC (permalink / raw)
  To: nfs


Message: 1
Date: Mon, 13 Oct 2003 11:23:51 +0800 (WST)
From: Ian Kent <raven@themaw.net>
To: "Ogden, Aaron A." <aogden@unocal.com>
cc: Mike Waychison <Michael.Waychison@Sun.COM>,
   autofs mailing list <autofs@linux.kernel.org>,
<nfs@lists.sourceforge.net>
Subject: Re: [NFS] RE: [autofs] multiple servers per automount

> On Fri, 10 Oct 2003, Ogden, Aaron A. wrote:
>=20
> >
> >
> > > So this would indicate that even if there is a device system that
can
> > > increase the number of unnamed devices that subsystems like NFS
cannot
> > > handle this many mounts.
> >
> > Maybe.  I'm not 100% certain though.  Currently I am holding steady
at
> > 710 active mounts, I am going to write a little script to mount more
in
> > small increments, ie. read a list of ~1000 mountpoints from /home,
mount
> > a few of them, check the filesystems, and repeat... this way I will
know
> > exactly where things break down.
>
> Interesting.
>=20
> If you can edge it up then it's probably not an available port
> restriction.
>=20
> There may be more than one issue at work here.

Hello all,
This limitation has been confirmed to my satisfaction, I just had a test
machine crack at 799 mountpoints, so it seems that Chuck's RPC theory
may be correct.  Mike Waychison and Eric Werme mentioned that Solaris
and HPUX use a multiplexed scheme to reduce the number of ports required
for NFS clients, perhaps that is the direction linux NFS/RPC should be
heading.

--aaron


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2003-12-15 15:46 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-14 16:27 ~800 mountpoint limitation Ogden, Aaron A.
2003-10-14 16:44 ` Trond Myklebust
2003-12-15 13:33   ` Ian Kent
  -- strict thread matches above, loose matches on Subject: below --
2003-12-15 15:46 Ogden, Aaron A.
2003-10-17 17:37 Ogden, Aaron A.
2003-10-17 15:09 Lever, Charles
2003-10-17 16:41 ` Trond Myklebust
2003-10-14 17:03 Ogden, Aaron A.
2003-10-15 13:01 ` Ian Kent
2003-10-14 16:45 Lever, Charles
2003-10-17 14:55 ` Trond Myklebust
2003-10-14 15:51 Ogden, Aaron A.
2003-10-14 16:06 ` Trond Myklebust

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.