Thread View: news.software.nntp
11 messages
11 total messages
Started by Russ Panula
Wed, 17 Jul 1996 00:00
Multiple servers, one nfs volume
Author: Russ Panula
Date: Wed, 17 Jul 1996 00:00
Date: Wed, 17 Jul 1996 00:00
18 lines
1023 bytes
1023 bytes
Hi, I've had this thought burning in my head and need someone to knock some sense into me.. What I was wondering boils down to this: if I had two INN servers talking to one NFS volume containing the history, overview, and all the articles would I eventually end up confusing the 2 INN servers to no end? I suspect file locking would be the cause of the confusion... but what if one of the servers received/sent/expired articles and the other was purely serving readers..? Russ
Re: Multiple servers, one nfs volume
Author: kostya
Date: Fri, 19 Jul 1996 00:00
Date: Fri, 19 Jul 1996 00:00
72 lines
3368 bytes
3368 bytes
In article <31ec7179.5411781@pandora.digitaladvantage.net> zeeb@digitaladvantage.net (Russ Panula) writes: >Hi, > >I've had this thought burning in my head and need someone to knock >some sense into me.. > >What I was wondering boils down to this: if I had two INN servers >talking to one NFS volume containing the history, overview, and all >the articles would I eventually end up confusing the 2 INN servers to >no end? > >I suspect file locking would be the cause of the confusion... but what >if one of the servers received/sent/expired articles and the other was >purely serving readers..? > >Russ I am thinking about this too. But INN FAQ part 5 says this: ------------ quote ----------- Subject: syslog: ME cant nonblock 15 Operation not supported. I get the following "syslog" message in /var/adm/messages: Dec 2 20:40:04 venus innd: ME cant nonblock 15 Operation not supported Answer: (from paulr@umbc4.umbc.edu (Paul Riddle)) It turns out that this is happening because /usr/spool/news on the machine running innd is an NFS-mounted filesystem, and innd is trying to do an FIONBIO on my feed file, which is under /usr/spool/news/out.going. (tal@plts.org adds:) All news transports (INN, C news, B news) want the spool partition to be local. Newsreader can read from an NFS mounted partition without any problems but innd should only see local partitions. NFS has a blatant disregard for many of the file semantics that are needed for a good netnews implementation. If you don't agree, please feel free to prove the authors of B news, C news, and INN wrong. Include source code. :-) Systems without unix-domain sockets sometimes see this error. Just ignore it. ------------ end quote ----------- Is it just bad/slow NFS implementation or NFS protocol itself is a problem? Looks like FAQ suggests the later. I was thinking about using a NetApp NFS server for news spool (and other things). It has many advantages over some striping and RAID implementations. One is that you can hot plug an extra drive and it will extend the filesystem on the fly. This provides a painles upgrade path for a news spool. With a low-end model you can go from 12GB to 52GB by just adding drives (and one extra enclosure at some point). Is anybody successfully using this kind of setup? If INN can't work with this then is there a software that can? Network Appliance says they have customers that use those for news. But they didn't tell me how. Also if it is possible, then what OS is better for this (preferrably on Intel)? One thing it should have is a correct NFS locking implementation. The NetApp supports that. -- Konstantin Martynenko Seanet Corporation
Re: Multiple servers, one nfs volume
Author: Heiko W.Rupp
Date: Sat, 20 Jul 1996 00:00
Date: Sat, 20 Jul 1996 00:00
24 lines
1507 bytes
1507 bytes
[ This message has been posted and mailed - please reply in news. ]
In <4sp4vi$9p8@kaleka.seanet.com>, kostya@seanet.com wrote:
:|Is it just bad/slow NFS implementation or NFS protocol itself is a problem?
:|Looks like FAQ suggests the later.
:|
:|I was thinking about using a NetApp NFS server for news spool (and other
:|things). It has many advantages over some striping and RAID implementations.
Yupp these toasters are very neat :-)
I had this running for about 2 weeks while testing such a NetApp toaster at
work and saw no problem. I think, you should try it out. I think the problem
is that normally the NFS servers aren't that fast and that you then get
the problems (YMMV).
--
Heiko W.Rupp Gerwigstr.5 D-76131 Karlsruhe +49 721 9661524
Advertisement for donkey rides in Thailand: Would you like to ride
on your own ass?
Re: Multiple servers, one nfs volume
Author: Odd Einar Aurbakken
Date: Wed, 24 Jul 1996 00:00
Date: Wed, 24 Jul 1996 00:00
32 lines
1812 bytes
1812 bytes
[removed Distribution: inet] In article <4sp4vi$9p8@kaleka.seanet.com>, kostya@seanet.com writes: [...] > (tal@plts.org adds:) > All news transports (INN, C news, B news) want the spool partition to > be local. Newsreader can read from an NFS mounted partition without > any problems but innd should only see local partitions. NFS has a > blatant disregard for many of the file semantics that are needed for a > good netnews implementation. If you don't agree, please feel free to > prove the authors of B news, C news, and INN wrong. Include source > code. :-) > > Systems without unix-domain sockets sometimes see this error. Just > ignore it. > ------------ end quote ----------- > > Is it just bad/slow NFS implementation or NFS protocol itself is a problem? > Looks like FAQ suggests the later. I also want to use the NetApp for spool. My best guess so far is that you can have the articles on NFS but not out.going. I don't know about overview. (relevant code is in lib/lockfile.c and expireover.c). It would be a big win if overview also could be on the NetApp box. I don't see any reason to put newslib on the NetApp box. Any thoughts? -oea
Re: Multiple servers, one nfs volume
Author: Russ Panula
Date: Wed, 24 Jul 1996 00:00
Date: Wed, 24 Jul 1996 00:00
89 lines
3966 bytes
3966 bytes
On 19 Jul 1996 23:16:02 GMT, kostya@seanet.com wrote: >In article <31ec7179.5411781@pandora.digitaladvantage.net> >zeeb@digitaladvantage.net (Russ Panula) writes: >>Hi, >> >>I've had this thought burning in my head and need someone to knock >>some sense into me.. >> >>What I was wondering boils down to this: if I had two INN servers >>talking to one NFS volume containing the history, overview, and all >>the articles would I eventually end up confusing the 2 INN servers to >>no end? >> >>I suspect file locking would be the cause of the confusion... but what >>if one of the servers received/sent/expired articles and the other was >>purely serving readers..? >> >>Russ > >I am thinking about this too. Alas, I'm not alone.. ;) >But INN FAQ part 5 says this: >------------ quote ----------- >Subject: syslog: ME cant nonblock 15 Operation not supported. > >I get the following "syslog" message in /var/adm/messages: > >Dec 2 20:40:04 venus innd: ME cant nonblock 15 Operation not supported > >Answer: (from paulr@umbc4.umbc.edu (Paul Riddle)) > >It turns out that this is happening because /usr/spool/news on the >machine running innd is an NFS-mounted filesystem, and innd is trying >to do an FIONBIO on my feed file, which is under /usr/spool/news/out.going. > You might be able to overcome this error by placing /usr/spool/news/out.going on a local filesystem. Which is fine since it should allow you to assign certain machines specific feeds to send. I'm still skeptical though.. >(tal@plts.org adds:) >All news transports (INN, C news, B news) want the spool partition to >be local. Newsreader can read from an NFS mounted partition without >any problems but innd should only see local partitions. NFS has a >blatant disregard for many of the file semantics that are needed for a >good netnews implementation. If you don't agree, please feel free to >prove the authors of B news, C news, and INN wrong. Include source >code. :-) > >Systems without unix-domain sockets sometimes see this error. Just >ignore it. >------------ end quote ----------- > >Is it just bad/slow NFS implementation or NFS protocol itself is a problem? >Looks like FAQ suggests the later. Sounds like both.. Depends on the NFS server you use and the type of network it's connected to I suppose. > >I was thinking about using a NetApp NFS server for news spool (and other >things). It has many advantages over some striping and RAID implementations. >One is that you can hot plug an extra drive and it will extend the filesystem >on the fly. This provides a painles upgrade path for a news spool. With a >low-end model you can go from 12GB to 52GB by just adding drives (and one extra >enclosure at some point). > >Is anybody successfully using this kind of setup? If INN can't work with this >then is there a software that can? > >Network Appliance says they have customers that use those for news. But they >didn't tell me how. > >Also if it is possible, then what OS is better for this (preferrably on Intel)? >One thing it should have is a correct NFS locking implementation. The NetApp >supports that. > It sounds like it could be possible to a point.. I think I may just try in the next few days.. >-- >Konstantin Martynenko >Seanet Corporation
Re: Multiple servers, one nfs volume
Author: Brandon Hume
Date: Sat, 27 Jul 1996 00:00
Date: Sat, 27 Jul 1996 00:00
29 lines
1990 bytes
1990 bytes
Greg Andrews (gerg@netcom.com) wrote: : The newslib filesystem can also be put on the NFS server, though : the only advantage is a minor one: If everything's on the same : NFS server, you only need to mount one filesystem on the client : machines. On a side note, how likely does it sound to have a single, powerful server handling incoming and outgoing feeds, running INN, with an NFS exported news spool (news-lord.domain, etc)... mounted on a number of smaller machines (PCs running BSDi or Linux/FreeBSD - news-peons.domain) being cycled through with round-robin DNS, with nnrpd being started out of inetd? I'm just starting to learn how nnrpd and inn actually interact, so this may be a foolish suggestion. I know that if the main machine is being brought to its knees by sheer I/O even during off peak times, it wouldn't help... but I was thinking more along the lines of getting readers off the primary machine, lessening RAM consumption, and having NFSd handle the I/O access rather than one or two hundred nnrpds. If it DID work, it'd be very scalable... if the client machines start to bog down you just add another PC to the team... -- Brandon Hume - hume@ra.isisnet.com: Technical Support/System administration - Finger for Geek codes, PGP, /dev/zero, yadda yadda.
Re: Multiple servers, one nfs volume
Author: Rich Salz
Date: Sat, 27 Jul 1996 00:00
Date: Sat, 27 Jul 1996 00:00
11 lines
1041 bytes
1041 bytes
In <gergDv3A2A.90w@netcom.com> gerg@netcom.com (Greg Andrews) writes: >and writing a replacement for nntpsend in Perl. I also eliminated >the numerous 'ctlinnd flush' commands that can choke a busy server. Numerous? Should only be one flush command/host, and I don't see a way to avoid that. Unles... aww, you wouldn't be playing cheesy games with NFS's statelessness, would you? /r$
Re: Multiple servers, one nfs volume
Author: Bruce Becker
Date: Tue, 30 Jul 1996 00:00
Date: Tue, 30 Jul 1996 00:00
62 lines
3214 bytes
3214 bytes
In article <gergDvBs8p.CCy@netcom.com>, Greg Andrews <gerg@netcom.com> wrote: |hume@isisnet.com (Brandon Hume) writes: |> |>I know that if the main machine is being brought to its knees by sheer |>I/O even during off peak times, it wouldn't help... but I was thinking |>more along the lines of getting readers off the primary machine, |>lessening RAM consumption, and having NFSd handle the I/O access rather |>than one or two hundred nnrpds. If it DID work, it'd be very scalable... |>if the client machines start to bog down you just add another PC to the |>team... |> | |It sounds like it's worth a try. I never mixed reader and feeder servers |like that, so I don't know how well it would work. | |I disagree that it would be very scalable, though. You can't "just add |another PC" (as an NFS client) for very long. My estimate is two or |three NFS clients and the NFS server will be be maxxed out. Particularly |if the NFS server is also doing a lot of news feeds. It would probably |be a good design for small-to-mid-sized sites (up to ~1,000 simultaneous |readers), but beyond that point the single NFS server would become a |bottleneck. | |Again, it sounds like it's worth trying it out to see how it flies... Actually it is quite scalable but the server needs to deal with the primary resource limitation which is disk i/o. This is so much slower than every other resource that as much attention as possible should be spent on it with other considerations matched to its solution. Basically a thousand users need to be in a thousand different places in the news spool at the same time. If each user had their own disk it would be great but of course impractical, so some form of emulation of this is necessary. The primary solution is to have as many separate drives as possible to comprise the news spool, thus reducing the number of user i/o requests queued up for access to a given spindle. A number of schemes to perform this function are available - partitioning the news spool, raid, etc. If multiple servers are used then either they need to be kept in strict lock step, or a given user needs to be allocated always to the same server in order to keep their .newsrc file in sync due to its usage of article numbers which are local rather than global entities. -- ,u, Bruce Becker Toronto, Ontario 1 416 699 1868 a /i/ Internet: bdb@gts.org Uucp: ...!gts!bdb `\o\-e "The Gates Motel - users check in but they never check out" _< /_ - Windfall 95
Re: Multiple servers, one nfs volume
Author: Heiko W.Rupp
Date: Tue, 30 Jul 1996 00:00
Date: Tue, 30 Jul 1996 00:00
17 lines
1319 bytes
1319 bytes
In <DvC4r0.Mwr@GTS.Net>, Bruce Becker wrote:
:| Basically a thousand users need to be in a thousand
:| different places in the news spool at the same time.
:| If each user had their own disk it would be great
Yes, but... If you have 256MB of read cache, then you can keep about
thousend articles in it. This is not much compared to the 200.000 ones
coming in a day, but this helps you quite long in reducing disk access...
--
Heiko W.Rupp Gerwigstr.5 D-76131 Karlsruhe +49 721 9661524
In a Rome laundry: Ladies, leave your clothes here and spend the
afternoon having a good time.
Re: Multiple servers, one nfs volume
Author: Bruce Becker
Date: Thu, 01 Aug 1996 00:00
Date: Thu, 01 Aug 1996 00:00
27 lines
1465 bytes
1465 bytes
In article <gergDvF5IE.8Mq@netcom.com>, Greg Andrews <gerg@netcom.com> wrote: |bdb@GTS.Net (Bruce Becker) writes: |> |> Actually it is quite scalable but the server needs |> to deal with the primary resource limitation which |> is disk i/o. |> | |Exactly. As I said, the single NFS server would become a bottleneck. | |I don't understand how a design that has a bottleneck in it can be |"quite scalable"? If you meant it's scalable up to the point that |you hit the bottleneck, isn't that what I said? I think I was trying to point out how the bottleneck could be removed ( or at least stretched greatly 8^) -- ,u, Bruce Becker Toronto, Ontario 1 416 699 1868 a /i/ Internet: bdb@gts.org Uucp: ...!gts!bdb `\o\-e "The Gates Motel - users check in but they never check out" _< /_ - Windfall 95
Re: Multiple servers, one nfs volume
Author: Bruce Becker
Date: Thu, 01 Aug 1996 00:00
Date: Thu, 01 Aug 1996 00:00
48 lines
2638 bytes
2638 bytes
In article <4tkvvi$j9g$3@snert.pilhuhn.de>, Heiko W.Rupp <hwr@pilhuhn.de> wrote: |In <DvC4r0.Mwr@GTS.Net>, Bruce Becker wrote: |:| Basically a thousand users need to be in a thousand |:| different places in the news spool at the same time. |:| If each user had their own disk it would be great | |Yes, but... If you have 256MB of read cache, then you can keep about |thousend articles in it. This is not much compared to the 200.000 ones |coming in a day, but this helps you quite long in reducing disk access... Having a lot of memory for caching is a definite win, but it is quite expensive plus there is also a limit to how much one can install etc. Using more disk drives per filesystem allows a given amount of memory cache to work much more effectively since buffered data gets to/from the disks faster in approximate proportion to the number of drives (assuming that the load is spread equally across all drives, an expected outcome for multiple nnrp accesses) The bottleneck can be roughly estimated by knowing the track-to-track seek time plus average rotational delay & data rate for a given disk drive. It's likely that this is >= 1 millisec., or approx 1000 blocks/sec. At 6 blocks/article this is say 170 articles/second, so for 1000 simultaneous requests there is a 6 second average delay to service it (OK, this is just back-of-the envelope scribbling, but you get the idea 8^). 10 drives reduces this to approximately 600 millisec. on average, or else at the same delay accommodate 10 times the number of simultaneous requests (assuming the cpu etc. can keep up with buffer bookkeeping etc. - also multiple scsi interfaces will likely be required if one doesn't use an external raid array) -- ,u, Bruce Becker Toronto, Ontario 1 416 699 1868 a /i/ Internet: bdb@gts.org Uucp: ...!gts!bdb `\o\-e "The Gates Motel - users check in but they never check out" _< /_ - Windfall 95
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads