Thread View: news.software.nntp
12 messages
12 total messages
Started by Brian Tao
Tue, 14 Oct 1997 00:00
Diablo and NFS
Author: Brian Tao
Date: Tue, 14 Oct 1997 00:00
Date: Tue, 14 Oct 1997 00:00
14 lines
1220 bytes
1220 bytes
The Diablo documentation specifically states that it does not
support NFS, but has anyone quantified the performance effects with
something like a Netapp filer? I currently have two INN servers with
NFS-based article spools and overviews (history/active are on local
disks), and they don't have too much trouble keeping up. I'd like to
switch the feeder server to use Diablo. Is there a benchmark program
that can suggest how well Diablo would work on NFS? How many
fcntl()'s per second must the filesystem be able to sustain?
--
Brian Tao (BT300, taob@netcom.ca)
"Though this be madness, yet there is method in't"
Re: Diablo and NFS
Author: Matt Dillon
Date: Mon, 13 Oct 1997 00:00
Date: Mon, 13 Oct 1997 00:00
30 lines
1841 bytes
1841 bytes
:In article <61v0d8$ka9$1@tor-nn1.netcom.ca>,
:Brian Tao <taob@nbc.netcom.ca> wrote:
:> The Diablo documentation specifically states that it does not
:>support NFS, but has anyone quantified the performance effects with
:>something like a Netapp filer? I currently have two INN servers with
:>NFS-based article spools and overviews (history/active are on local
:>disks), and they don't have too much trouble keeping up. I'd like to
:>switch the feeder server to use Diablo. Is there a benchmark program
:>that can suggest how well Diablo would work on NFS? How many
:>fcntl()'s per second must the filesystem be able to sustain?
:>--
:>Brian Tao (BT300, taob@netcom.ca)
:>"Though this be madness, yet there is method in't"
The NFS restriction revolves around POSIX fcntl locks. If both the
client and server support fcntl locks, Diablo will theoretically
run on it. But I dunno how well. Diablo relies very heavily on
locks in core code. It makes a huge number of fcntl locking calls,
but the code is also designed to avoid lock contention whenever
possible.
So I just don't know how well Diablo would run in an NFS situation
with working fcntl locks.
-Matt
Re: Diablo and NFS
Author: Matt Dillon
Date: Tue, 14 Oct 1997 00:00
Date: Tue, 14 Oct 1997 00:00
55 lines
3409 bytes
3409 bytes
:In article <6218oa$i07$1@news1.tor.acc.ca>, Matt Stein <matt@ican.net> wrote:
:>Brian Tao <taob@nbc.netcom.ca> wrote:
:>
:>> It doesn't seem like Diablo needs a lot of spindles to perform
:>> well, and I might have some diskpacks or even a fiber-channel storage
:>> array lying around so I can do this at no extra cost.
:>
:>Oh, life is tough. Actually, the fiber-channel array will be drastically
:>underused by Diablo. I've found that in most of my Diablo installs, 3 4gig
:>drives usually sit mostly idle when CCD'd for a spool. The /news partition
:>will always take a beating though, even when CCDing 4 2gig drives together,
:>the /news drives are hit pretty hard.
:>
:>Even the Alpha based NetApps won't handle that load.
:>
:>--
:>mat.
Yah, even with the precommit cache and around 80 MB worth of memory
devoted to disk caching I still get th below. Seek saturation occurs
at around 80 tps (the burst is the update daemon syncing the disk).
I have started running diablo with USE_SHORT_REMEMBER set to 1 in
lib/vendor.h to reduce the dhistory file size. It will probably be
the default in the next release.
-Matt
news1:/news> iostat 1
tty sd0 sd1 sd2 cpu
tin tout sps tps msps sps tps msps sps tps msps us ni sy in id
0 8 136 47 0.0 -48 37 0.1 -49 37 0.1 17 0 18 7 58
0 67 540 34 0.0 492 33 0.0 1332 116 0.0 16 0 24 5 55
0 67 623 35 0.0 439 21 0.0 286 15 0.0 9 0 23 9 59
0 67 294 18 0.0 297 22 0.0 802 30 0.0 11 0 11 2 76
0 67 260 17 0.0 725 27 0.0 504 24 0.0 12 0 18 5 65
0 67 310 19 0.0 627 35 0.0 603 51 0.0 5 0 15 7 73
0 67 508 32 0.0 579 20 0.0 583 42 0.0 18 0 15 5 63
0 67 704 43 0.0 341 16 0.0 583 28 0.0 16 0 29 8 47
0 67 953 51 0.0 835 22 0.0 752 28 0.0 20 0 28 7 45
0 67 478 26 0.0 310 11 0.0 1032 35 0.0 14 0 16 10 60
0 64 971 55 0.0 630 22 0.0 488 15 0.0 10 0 34 4 51
0 67 433 24 0.0 685 24 0.0 477 24 0.0 12 0 19 6 62
0 67 734 47 0.0 320 30 0.0 680 46 0.0 15 0 19 7 59
0 671484 109 0.0 1171 93 0.0 2016 158 0.0 7 0 17 2 74
0 671855 114 0.0 291 21 0.0 1144 70 0.0 2 0 13 6 78
0 672620 153 0.0 421 23 0.0 211 15 0.0 8 0 8 4 81
0 642093 126 0.0 269 16 0.0 158 14 0.0 7 0 19 3 71
0 67 816 44 0.0 562 42 0.0 340 22 0.0 26 0 13 6 54
0 67 151 10 0.0 312 20 0.0 1167 45 0.0 15 0 16 9 61
0 67 278 19 0.0 286 13 0.0 980 51 0.0 12 0 12 2 74
Re: Diablo and NFS
Author: Ragnar Lonn
Date: Tue, 14 Oct 1997 00:00
Date: Tue, 14 Oct 1997 00:00
31 lines
2028 bytes
2028 bytes
In article <61v0d8$ka9$1@tor-nn1.netcom.ca>, taob@nbc.netcom.ca (Brian Tao) wrote: > The Diablo documentation specifically states that it does not >support NFS, but has anyone quantified the performance effects with >something like a Netapp filer? I currently have two INN servers with >NFS-based article spools and overviews (history/active are on local >disks), and they don't have too much trouble keeping up. I'd like to >switch the feeder server to use Diablo. Is there a benchmark program >that can suggest how well Diablo would work on NFS? How many >fcntl()'s per second must the filesystem be able to sustain? Hmm, so you do have a dedicated feed machine then? But it stores the articles on the Netapp? If you switch to Diablo you won't be able to use the same spool area for the feeder machine as for the reader server because Diablo and INN use different article spool formats and Diablo doesn't currently support reading (so you have to run INN also). Bearing this in mind, and the fact that you have a dedicated feeder, I would go for local disks for the feeder instead of trying to get it to store its articles on the Netapp. You don't really gain anything but will add unnecessary complexity to your system, get less space for the reader server's spool on the Netapp, and might get locking problems if you insist on putting the feeder's spool area on the Netapp. Of course, you wouldn't have to buy extra disks for the feeder :-) /Ragnar, Algonet/TNI
Re: Diablo and NFS
Author: Brian Tao
Date: Tue, 14 Oct 1997 00:00
Date: Tue, 14 Oct 1997 00:00
43 lines
2726 bytes
2726 bytes
In article <6209qm$87d$1@zingo.tninet.se>, Ragnar Lonn <prl@algonet.se> wrote:
>
>I guess it depends on how many peers you have - how much performance
>you need out of your feed machine. A dedicated machine is much easier
>to administrate, debug, and tune and a feeder software like e.g.
>Diablo will of course be a lot better than vanilla INN for feeding.
My current feeder setup is an Ultra-1 with 256MB of RAM and two
2GB narrow drives on the internal SCSI. The spool is on a 20GB
filesystem on a Netapp F220 over FDDI. I have a total of 47 innfeed
peers (some are split into small and large article feeds). The only
real problem I have right now is the memory leak in the history-cache
patch (I believe it is Clayton's) which forces me to restart innd
every once in a while.
Other than that, I've been getting excellent propagation.
inndelay and laghist both indicate that 50% to 80% of all articles
arrive here in under 30 minutes, and sometimes over 50% arrive in less
than 5 minutes. There have been some recent problems which caused
that metric to worsen, but overall I don't think the users can
complain about the timeliness of their feed.
>So if I were you I'd start asking for that external diskpack and the
>wide interface immediately ;)
It would be a heck of a lot cheaper than another Netapp, at any
rate. ;-)
> (then again, I'd probably want another Netapp too so the reader
> servers wouldn't have to share the Netapp with the webservers - I'm
> never happy until I get every box to do just one single thing :-)
It's the feeder server that shares a Netapp. The reader box has
its own 40GB Netapp, and it sees a *lot* more NFS activity than the
other one. I'll probably add a second Netapp next year as Usenet
volume continues to mount, and pray that spam filtering will cut down
on Usenet's voracious disk appetite.
--
Brian Tao (BT300, taob@netcom.ca)
"Though this be madness, yet there is method in't"
Re: Diablo and NFS
Author: Brian Tao
Date: Tue, 14 Oct 1997 00:00
Date: Tue, 14 Oct 1997 00:00
55 lines
2426 bytes
2426 bytes
In article <61v2tp$800$1@flea.best.net>, Matt Dillon <dillon@best.net> wrote:
>
> Diablo relies very heavily on locks in core code. It makes a huge
> number of fcntl locking calls, but the code is also designed to
> avoid lock contention whenever possible.
I banged out a quick little benchmark that locks a file, appends a
few bytes to it and unlocks it. An Ultra-1 to a Netapp F210 over 10
Mbps gets about 240 loop iterations per second. The same test to the
internal 2GB drive gets about 24000 iterations per second, and about
45000 iterations per second on the /tmp memory filesystem. The
numbers to an NFS filesystem imported from an Ultra were somewhat
higher than from a Netapp, but that may be because the Netapp was busy
with other things at the time.
A fellow from GTE who had tried Diablo over NFS said his news
server was churning out 100x the number of system calls compared to
using local disk storage (although I haven't asked why yet).
#include <stdio.h>
#include <sys/file.h>
#include <fcntl.h>
#include <unistd.h>
int main(int argc, char **argv)
{
int filedes;
int c;
FILE *fptr;
struct flock arg;
unlink(argv[1]);
filedes = open(argv[1], O_RDWR | O_CREAT, 0644);
fptr = fdopen(filedes, "a+");
for(c=1 ; c<=10000 ; c++)
{
arg.l_type = F_WRLCK; arg.l_whence = arg.l_start = arg.l_len = 0;
fcntl(filedes, F_SETLK, &arg);
fprintf(fptr, "Wrote %d\n", c);
arg.l_type = F_UNLCK; arg.l_whence = arg.l_start = arg.l_len = 0;
fcntl(filedes, F_SETLK, &arg);
}
fclose(fptr);
close(filedes);
exit(0);
}
--
Brian Tao (BT300, taob@netcom.ca)
"Though this be madness, yet there is method in't"
Re: Diablo and NFS
Author: Ragnar Lonn
Date: Tue, 14 Oct 1997 00:00
Date: Tue, 14 Oct 1997 00:00
24 lines
1564 bytes
1564 bytes
In article <61vufq$9pe$2@tor-nn1.netcom.ca>, taob@nbc.netcom.ca (Brian Tao) wrote: > > I guess I'll fiddle with INN a bit more then, and if I still want >to go with Diablo, I'll get a wide interface and attach an external >disk pack with three or four 4GB drives and stripe them together. The >web server could use the extra room on the Netapp anyway. ;-) I guess it depends on how many peers you have - how much performance you need out of your feed machine. A dedicated machine is much easier to administrate, debug, and tune and a feeder software like e.g. Diablo will of course be a lot better than vanilla INN for feeding. So if I were you I'd start asking for that external diskpack and the wide interface immediately ;) (then again, I'd probably want another Netapp too so the reader servers wouldn't have to share the Netapp with the webservers - I'm never happy until I get every box to do just one single thing :-) /Ragnar, Algonet/TNI
Re: Diablo and NFS
Author: Brian Tao
Date: Tue, 14 Oct 1997 00:00
Date: Tue, 14 Oct 1997 00:00
24 lines
1701 bytes
1701 bytes
In article <6210ju$hhb$4@zingo.tninet.se>, Ragnar Lonn <prl@algonet.se> wrote:
>
>Ok, and the server is not very loaded either? You can probably
>handle all your peers on that Ultra running Diablo and only using
>those two internal 2GB drives. But I guess it depends on how much you
>feed your peers also.
The load usually stays below 1.0. On a busy day, the server will
accept over 500,000 articles and offer 8 million (of which 2 to 2.5
million will be accepted).
>If you can afford a little more than just a diskpack, take a look at
>an external RAID unit. Eurologic (www.eurologic.com) makes good ones.
>I'm very pleased with our Voyager 3000. It is fast.
It doesn't seem like Diablo needs a lot of spindles to perform
well, and I might have some diskpacks or even a fiber-channel storage
array lying around so I can do this at no extra cost.
--
Brian Tao (BT300, taob@netcom.ca)
"Though this be madness, yet there is method in't"
Re: Diablo and NFS
Author: Ragnar Lonn
Date: Tue, 14 Oct 1997 00:00
Date: Tue, 14 Oct 1997 00:00
58 lines
3051 bytes
3051 bytes
In article <620gr3$mvs$1@tor-nn1.netcom.ca>, taob@nbc.netcom.ca (Brian Tao) wrote: > > My current feeder setup is an Ultra-1 with 256MB of RAM and two >2GB narrow drives on the internal SCSI. The spool is on a 20GB >filesystem on a Netapp F220 over FDDI. I have a total of 47 innfeed >peers (some are split into small and large article feeds). The only >real problem I have right now is the memory leak in the history-cache >patch (I believe it is Clayton's) which forces me to restart innd >every once in a while. > Ok, and the server is not very loaded either? You can probably handle all your peers on that Ultra running Diablo and only using those two internal 2GB drives. But I guess it depends on how much you feed your peers also. We have an Ultra1/170 with 512MB RAM, an external Voyager 3000 RAID unit with 6 x 2GB disks for spool. There are some stats available at http://newsfeed1.algonet.se/ - maybe not the prettiest webpage ever seen but then again, the webserver is /bin/cat (I can recommend it, much easier to setup and administrate than any webserver I've ever seen. Fairly secure too, I think! :-) >>So if I were you I'd start asking for that external diskpack and the >>wide interface immediately ;) > > It would be a heck of a lot cheaper than another Netapp, at any >rate. ;-) > If you can afford a little more than just a diskpack, take a look at an external RAID unit. Eurologic (www.eurologic.com) makes good ones. I'm very pleased with our Voyager 3000. It is fast. > It's the feeder server that shares a Netapp. The reader box has >its own 40GB Netapp, and it sees a *lot* more NFS activity than the >other one. I'll probably add a second Netapp next year as Usenet >volume continues to mount, and pray that spam filtering will cut down >on Usenet's voracious disk appetite. Aha, then I misunderstood. We also have an F540 for our reader system with one Ultra 1/170 acting 'writer host' - i.e. mounting the Netapp read/write and accepting an incoming feed from the feed machine, then we have two reader servers that mount the Netapp read-only and send all articles users post to the 'writer host' for storage and relaying. The system works great so far. Easy to administrate, pretty scalable, can be made more or less redundant (but we haven't worked a lot on that yet). /Ragnar, Algonet/TNI
Re: Diablo and NFS
Author: Brian Tao
Date: Tue, 14 Oct 1997 00:00
Date: Tue, 14 Oct 1997 00:00
25 lines
1735 bytes
1735 bytes
In article <61vn0i$4ce$6@cubacola.tninet.se>, Ragnar Lonn <prl@algonet.se> wrote:
>
>If you switch to Diablo you won't be able to use the same spool area
>for the feeder machine as for the reader server because Diablo and
>INN use different article spool formats and Diablo doesn't currently
>support reading (so you have to run INN also).
Yep, that's fine... I have one Netapp F230 for the reader server,
and a Netapp F220 split between the feeder server and Web server (and
other small things).
>Bearing this in mind, and the fact that you have a dedicated feeder,
>I would go for local disks for the feeder instead of trying to get it
>to store its articles on the Netapp.
I guess I'll fiddle with INN a bit more then, and if I still want
to go with Diablo, I'll get a wide interface and attach an external
disk pack with three or four 4GB drives and stripe them together. The
web server could use the extra room on the Netapp anyway. ;-)
--
Brian Tao (BT300, taob@netcom.ca)
"Though this be madness, yet there is method in't"
Re: Diablo and NFS
Author: Ragnar Lonn
Date: Wed, 15 Oct 1997 00:00
Date: Wed, 15 Oct 1997 00:00
19 lines
1229 bytes
1229 bytes
In article <6212u4$9hg$1@tor-nn1.netcom.ca>, taob@nbc.netcom.ca (Brian Tao) wrote: > > The load usually stays below 1.0. On a busy day, the server will >accept over 500,000 articles and offer 8 million (of which 2 to 2.5 >million will be accepted). > Ours offer maybe 4.5 million articles per day and has a load average of about 0.30 I think. I wonder if an SS20/712 (twin SuperSparc II CPU machine) would do better or worse as a newsfeed machine? I have got the impression that news runs well on multi-CPU servers (at least under Solaris). /Ragnar, Algonet/TNI
Re: Diablo and NFS
Author: Matt Stein
Date: Wed, 15 Oct 1997 00:00
Date: Wed, 15 Oct 1997 00:00
19 lines
1403 bytes
1403 bytes
Brian Tao <taob@nbc.netcom.ca> wrote: > It doesn't seem like Diablo needs a lot of spindles to perform > well, and I might have some diskpacks or even a fiber-channel storage > array lying around so I can do this at no extra cost. Oh, life is tough. Actually, the fiber-channel array will be drastically underused by Diablo. I've found that in most of my Diablo installs, 3 4gig drives usually sit mostly idle when CCD'd for a spool. The /news partition will always take a beating though, even when CCDing 4 2gig drives together, the /news drives are hit pretty hard. Even the Alpha based NetApps won't handle that load. -- mat.
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