Date: Sun, 23 Dec 2018 11:30:31 +0100 From: Alexander Leidinger <Alexader@Leidinger.net> To: Rick Macklem <rmacklem@uoguelph.ca> Cc: Peter Eriksson <peter@ifm.liu.se>, "freebsd-fs@freebsd.org" <freebsd-fs@freebsd.org> Subject: Re: Suggestion for hardware for ZFS fileserver Message-ID: <20181223113031.00005150@Leidinger.net> In-Reply-To: <YQBPR01MB038805DBCCE94383219306E1DDB80@YQBPR01MB0388.CANPRD01.PROD.OUTLOOK.COM> References: <CAEW%2BogZnWC07OCSuzO7E4TeYGr1E9BARKSKEh9ELCL9Zc4YY3w@mail.gmail.com> <C839431D-628C-4C73-8285-2360FE6FFE88@gmail.com> <CAEW%2BogYWKPL5jLW2H_UWEsCOiz=8fzFcSJ9S5k8k7FXMQjywsw@mail.gmail.com> <4f816be7-79e0-cacb-9502-5fbbe343cfc9@denninger.net> <3160F105-85C1-4CB4-AAD5-D16CF5D6143D@ifm.liu.se> <YQBPR01MB038805DBCCE94383219306E1DDB80@YQBPR01MB0388.CANPRD01.PROD.OUTLOOK.COM>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 21 Dec 2018 23:49:58 +0000 Rick Macklem <rmacklem@uoguelph.ca> wrote: > Peter Eriksson wrote: > [good stuff snipped] > >This has caused some interesting problems… > > > >First thing we noticed was that booting would take forever… Mounting > >the 20-100k >filesystems _and_ enabling them to be shared via NFS is > >not done efficient at all (for >each filesystem it > >re-reads /etc/zfs/exports (a couple of times) befor appending one > >>line to the end. Repeat 20-100,000 times… Not to mention the big > >>kernel lock for >NFS “hold all NFS activity while we flush and > >>reinstalls all sharing information per >filesystem” being done by > >>mountd… > Yes, /etc/exports and mountd were implemented in the 1980s, when a > dozen file systems would have been a large server. Scaling to 10,000 > or more file systems wasn't even conceivable back then. There was an effort in 2012 to improve on that. https://sourceforge.net/projects/nfse/ I can't find code for this. In GNATS this was as kern/136865, but I can't find it in bugzilla. It was not picked up by us, no idea why (maybe nobody bothered back then). Bye, Alexander. -- http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF http://www.FreeBSD.org netchild@FreeBSD.org : PGP 0x8F31830F9F2772BF
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20181223113031.00005150>