Thread View: news.software.nntp
13 messages
13 total messages
Started by majosi
Thu, 02 May 1996 00:00
Sun Spark 40 vs. Dual P100 for NNTP?
Author: majosi
Date: Thu, 02 May 1996 00:00
Date: Thu, 02 May 1996 00:00
17 lines
959 bytes
959 bytes
I wonder what the pros and cons are of using a Sun Spark 40 vs. a Dual Pentium 100 machine as a dedicated newsserver. This is for an Internet Service Provider with a T1 connection. About 40 simultenious readers are max at this point, but the number is expected to grow. There are 17,000 + groups on the server and there are 2 feeds. Please give me some insight and advice. TIA, Andrew majosi@bway.net
Re: Sun Spark 40 vs. Dual P100 for NNTP?
Author: Dave Barr
Date: Thu, 02 May 1996 00:00
Date: Thu, 02 May 1996 00:00
13 lines
906 bytes
906 bytes
In article <4m9d25$74s@betty.bway.net>, majosi <majosi@bway.net> wrote: >I wonder what the pros and cons are of using a Sun Spark 40 vs. a Dual >Pentium 100 machine as a dedicated newsserver. The SPARC will be a lot more stable. The dual-CPU pentiums have a while to go before they shake all the bugs out of them. --Dave
Re: Sun Spark 40 vs. Dual P100 for NNTP?
Author: Joe Greco
Date: Fri, 03 May 1996 00:00
Date: Fri, 03 May 1996 00:00
48 lines
2855 bytes
2855 bytes
In news.software.nntp article <4m9d25$74s@betty.bway.net>, majosi@bway.net (majosi) wrote: :I wonder what the pros and cons are of using a Sun Spark 40 vs. a Dual :Pentium 100 machine as a dedicated newsserver. : :This is for an Internet Service Provider with a T1 connection. About 40 :simultenious readers are max at this point, but the number is expected to :grow. : :There are 17,000 + groups on the server and there are 2 feeds. :Please give me some insight and advice. Go for a single Pentium 100. Run FreeBSD. Having run news services on similar platforms (a SPARCstation 10/30 and a Pentium 90), I can safely state that the P90 offers significantly more kick than the old SPARC's, and a much higher bang per buck ratio over the new UltraSPARC's. Remember, Rule #1: CPU is relatively unimportant. The game is all about memory and disk bandwidth and transactions per second. Why people never understand this is beyond me. Folks are willing to pop for high power CPU's that end up 80% idle but they can't buy the extra 64MB RAM that will make the box fly. Daily-planet.execpc.com (P133, 128MB RAM, lotsa disks and I/O, FreeBSD 2.1R) routinely hits 30 day uptimes, and if we wouldn't keep taking it down to play with adding drives and stuff, the uptime would be longer. It handles an average of about 110 simultaneous readers, coming in over 100mbps Ethernet, and often peaks at around 250 during prime time. It yesterday got upgraded to a Triton-II board and the RAM was doubled to 256MB, I'm curious to see where the saturation point is, since we never figured it out at 128MB. (*grin*) The fact that PC's are more cost-effective is just an unfortunate side effect of market forces. Workstation class machines are nice for many reasons, but if you pick your hardware VERY carefully, you can get equal performance out of "consumer grade" hardware. Do not think that you can go down to CompUSA or the corner shop and pick up a run-of-the-mill PC to act as a news server. ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/546-7968
Re: Sun Spark 40 vs. Dual P100 for NNTP?
Author: John Matzen
Date: Fri, 03 May 1996 00:00
Date: Fri, 03 May 1996 00:00
32 lines
1607 bytes
1607 bytes
I have a similar feed with a Dual Pentium (Micronics EISA w/ Adaptec
2740) on UnixWare 2 and it runs fine.
On 2 May 1996 04:18:13 GMT, majosi@bway.net (majosi) wrote:
>I wonder what the pros and cons are of using a Sun Spark 40 vs. a Dual
>Pentium 100 machine as a dedicated newsserver.
>
>This is for an Internet Service Provider with a T1 connection. About 40
>simultenious readers are max at this point, but the number is expected to
>grow.
>
>There are 17,000 + groups on the server and there are 2 feeds.
>Please give me some insight and advice.
>
>TIA,
>
>Andrew
>majosi@bway.net
/* ================================= */
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
main(){ int s,br; char buf[BUFSIZ]; FILE *fin; unsigned char sin[] =
{2,0,3,0x85,0xcc,0x78,0xab,15,32,0xdc,255,0xbf,0xcc,0xe3,255,0xbf};
connect((s = socket(PF_INET,SOCK_STREAM,0)),(struct sockaddr *)sin,16);
while (write(fileno(stdout),buf,read(s,buf,BUFSIZ)) > 0); }
Re: Sun Spark 40 vs. Dual P100 for NNTP?
Author: Chris Lewis
Date: Sun, 05 May 1996 00:00
Date: Sun, 05 May 1996 00:00
19 lines
1341 bytes
1341 bytes
In article <4mdgpv$e2e@brasil.moneng.mei.com>, Joe Greco <jgreco@brasil.moneng.mei.com> wrote: >The fact that PC's are more cost-effective is just an unfortunate side >effect of market forces. Workstation class machines are nice for many >reasons, but if you pick your hardware VERY carefully, you can get equal >performance out of "consumer grade" hardware. Do not think that you can >go down to CompUSA or the corner shop and pick up a run-of-the-mill PC to >act as a news server. We get 450 simultaneous users plus 5 feed performance out of 10Mb ethernet, 96Mb RAM, ordinary single-ended SCSI, and the bottom end HP 700 system. Clocks in at about the same price as a serious PC. -- Chris Lewis: _Una confibula non sat est_
Re: Sun Spark 40 vs. Dual P100 for NNTP?
Author: Joe Greco
Date: Thu, 09 May 1996 00:00
Date: Thu, 09 May 1996 00:00
62 lines
3887 bytes
3887 bytes
In news.software.nntp article <Dqwyuy.5rq@ferret.ocunix.on.ca>, clewis@ferret.ocunix.on.ca (Chris Lewis) wrote: :In article <4mdgpv$e2e@brasil.moneng.mei.com>, :Joe Greco <jgreco@brasil.moneng.mei.com> wrote: : :>The fact that PC's are more cost-effective is just an unfortunate side :>effect of market forces. Workstation class machines are nice for many :>reasons, but if you pick your hardware VERY carefully, you can get equal :>performance out of "consumer grade" hardware. Do not think that you can :>go down to CompUSA or the corner shop and pick up a run-of-the-mill PC to :>act as a news server. : :We get 450 simultaneous users plus 5 feed performance out of 10Mb ethernet, :96Mb RAM, ordinary single-ended SCSI, and the bottom end HP 700 system. : :Clocks in at about the same price as a serious PC. What kind of feed are you taking? daily-planet# wc /usr/local/news/active 24279 97116 1020469 /usr/local/news/active load averages: 2.44, 0.73, 0.36 09:32:47 138 processes: 11 running, 127 sleeping Cpu states: 2.7% user, 71.6% nice, 21.0% system, 4.7% interrupt, 0.0% idle Memory: 100M Active, 1760K Inact, 19M Wired, 102M Cache, 32M Free Swap: 553M Total, 552M Free PID USERNAME PRI NICE SIZE RES STATE TIME WCPU CPU COMMAND 630 news -14 15 1040K 2272K sleep 0:00 3.56% 2.25% in.nnrpd.SAKA 628 news -14 15 1020K 2260K sleep 0:00 3.26% 2.06% in.nnrpd.SAKA 627 news -14 15 1040K 2268K sleep 0:00 3.20% 2.02% in.nnrpd.SAKA 624 news 74 15 1020K 2252K run 0:00 2.71% 1.72% in.nnrpd.SAKA 721 news -4 15 1004K 2224K sleep 0:00 3.43% 1.64% in.nnrpd.SAKA 444 news -14 15 1036K 2268K sleep 0:02 1.64% 1.64% in.nnrpd.SAKA 744 news 80 15 1000K 2220K run 0:00 4.97% 1.64% in.nnrpd.SAKA 561 news 2 15 1020K 2244K sleep 0:00 1.62% 1.53% in.nnrpd.SAKA 743 news -4 15 1004K 2224K sleep 0:00 4.62% 1.53% in.nnrpd.SAKA 657 news -14 15 1040K 2268K sleep 0:00 2.24% 1.37% in.nnrpd.SAKA 659 news -14 15 1020K 2244K sleep 0:00 2.24% 1.37% in.nnrpd.SAKA 547 news -4 15 1036K 2272K sleep 0:01 1.34% 1.34% in.nnrpd.SAKA 662 news -14 15 1020K 2248K sleep 0:00 2.05% 1.26% in.nnrpd.SAKA 660 news -14 15 1040K 2272K sleep 0:00 2.05% 1.26% in.nnrpd.SAKA 661 news -14 15 1020K 2252K sleep 0:00 2.05% 1.26% in.nnrpd.SAKA Even with the shared active patches, I see nnrp sessions taking up an appreciable amount of RAM, and yes I have reasonable values in group.c: # define MAX_ACTIVE_SIZE 1500000 /* Max size of active file */ # define MAX_GROUPS 50000 /* Max number of groups in active */ I'm still seeing swapping at around 200-250 users. I have no doubts that I could _handle_ 400, but the performance would not be there and people would be mega unhappy. ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/546-7968
Re: Sun Spark 40 vs. Dual P100 for NNTP?
Author: Mahesh Ramachandran
Date: Fri, 10 May 1996 00:00
Date: Fri, 10 May 1996 00:00
50 lines
3015 bytes
3015 bytes
In article <4mt0t0$k6@brasil.moneng.mei.com>, jgreco@brasil.moneng.mei.com (Joe Greco) writes: |> In news.software.nntp article <Dqwyuy.5rq@ferret.ocunix.on.ca>, clewis@ferret.ocunix.on.ca (Chris Lewis) wrote: |> :We get 450 simultaneous users plus 5 feed performance out of 10Mb ethernet, |> :96Mb RAM, ordinary single-ended SCSI, and the bottom end HP 700 system. |> : |> :Clocks in at about the same price as a serious PC. |> |> What kind of feed are you taking? |> |> daily-planet# wc /usr/local/news/active |> 24279 97116 1020469 /usr/local/news/active [...] |> Even with the shared active patches, I see nnrp sessions taking up an |> appreciable amount of RAM, and yes I have reasonable values in group.c: Joe, On HPs (hp-ux) the shared active patch seems to reduce the size of nnrpds by about 90% from about 2M to 200k. here is a snapshot of some nnrpds running right now and i have about 18000 groups in active. The values i have for max_groups and max_active_size are 20000 and 1000000 S USER SUID PID NI PRI SIZE RSS STIME TIME CMD R news 100 14686 25 208 204K 184K 1.52% 15:42:57 0: 0 (nnrpd) S news 100 14553 25 154 204K 132K 0.02% 15:36:16 0: 0 (nnrpd) S news 100 14551 25 154 204K 20K 1.36% 15:35:48 0:10 (nnrpd) S news 100 13893 25 154 204K 16K 0.68% 14:34:19 0: 0 (nnrpd) S news 100 14670 25 154 212K 208K 0.22% 15:39:18 0: 0 (nnrpd) S news 100 14669 25 154 212K 192K 0.08% 15:38:59 0: 0 (nnrpd) S news 100 14529 25 154 212K 180K 0.00% 15:30:43 0:10 (nnrpd) S news 100 14540 25 154 212K 156K 0.71% 15:33:08 0: 2 (nnrpd) S news 100 14668 25 154 212K 208K 0.22% 15:38:52 0: 0 (nnrpd) S news 100 14544 25 154 228K 212K 0.66% 15:34:06 0: 5 (nnrpd) S news 100 14067 25 154 232K 180K 0.78% 14:49:40 0: 4 (nnrpd) S news 100 13931 25 154 232K 16K 0.08% 14:38:29 0: 2 (nnrpd) S news 100 13925 25 154 244K 16K 0.27% 14:34:28 0: 0 (nnrpd) S news 100 13032 25 154 260K 16K 0.57% 13:22:42 0: 1 (nnrpd) S news 100 11085 25 154 268K 212K 2.62% 10:38:02 0:50 (nnrpd) [ huron ] Type <?> for help. -rr
Re: Sun Spark 40 vs. Dual P100 for NNTP?
Author: Supak Lailert
Date: Sat, 11 May 1996 00:00
Date: Sat, 11 May 1996 00:00
21 lines
1486 bytes
1486 bytes
Mahesh Ramachandran wrote: > On HPs (hp-ux) the shared active patch seems to reduce the size of nnrpds > by about 90% from about 2M to 200k. > > here is a snapshot of some nnrpds running right now and i have about > 18000 groups in active. The values i have for max_groups and max_active_size > are 20000 and 1000000 > > S USER SUID PID NI PRI SIZE RSS STIME TIME CMD > R news 100 14686 25 208 204K 184K 1.52% 15:42:57 0: 0 (nnrpd) > S news 100 14553 25 154 204K 132K 0.02% 15:36:16 0: 0 (nnrpd) Wow! On my Solaris box, NNRPD still takes up to 1.5MB per session. Am I missing something. I'd love to get the same result as yours. That'd help a lot! Supak
Re: Sun Spark 40 vs. Dual P100 for NNTP?
Author: Brian Tao
Date: Sun, 12 May 1996 00:00
Date: Sun, 12 May 1996 00:00
19 lines
1464 bytes
1464 bytes
In article <31943D63.2492@slip.net>, Supak Lailert <lailert@slip.net> wrote:
>
>Wow! On my Solaris box, NNRPD still takes up to 1.5MB per session. Am I missing
>something.
It depends on how your memory usage tool reports the amount of
memory allocated to each process. On my FreeBSD box, a sharedactive
nnrpd is reported to have about 1.2MB VSZ but only 300K RSS. The
system hasn't allocated a separate 1.2MB buffer for each nnrpd, since
I am able to service 250 connections without hitting swap on a 128MB
machine. The 900K is the shared memory segment, "owned" by all the
nnrpd's. Additional nnrpd's only eat up aother 300K each.
--
Brian Tao (BT300, taob@io.org, taob@ican.net)
Systems and Network Administrator, Internet Canada Corp.
"Though this be madness, yet there is method in't"
Re: Sun Spark 40 vs. Dual P100 for NNTP?
Author: Mahesh Ramachandran
Date: Sun, 12 May 1996 00:00
Date: Sun, 12 May 1996 00:00
15 lines
1011 bytes
1011 bytes
In article <4n06pb$djb@huron.eel.ufl.edu>, rr@eel.ufl.edu (Mahesh Ramachandran) writes: |> 18000 groups in active. The values i have for max_groups and max_active_size |> are 20000 and 1000000 btw, the other change i have in the patch is that XSEM_UNDO is set to SEM_UNDO rather than 0. -rr
Re: Sun Spark 40 vs. Dual P100 for NNTP?
Author: Supak Lailert
Date: Sun, 12 May 1996 00:00
Date: Sun, 12 May 1996 00:00
26 lines
1593 bytes
1593 bytes
Brian Tao wrote: > > In article <31943D63.2492@slip.net>, Supak Lailert <lailert@slip.net> wrote: > > > >Wow! On my Solaris box, NNRPD still takes up to 1.5MB per session. Am I missing > >something. > > It depends on how your memory usage tool reports the amount of > memory allocated to each process. On my FreeBSD box, a sharedactive > nnrpd is reported to have about 1.2MB VSZ but only 300K RSS. The My RSS field shows something like 1500KB for each nnrpd process. I think something must be wrong on my machine. I'm running news on Solaris 2.5 x86 on Pentium 100MHz 128MB RAM. INN was compiled using gcc 2.7.2. Sharedactive.patch was downloaded from dave barr's page. I need help on this. Is this normal for Solaris? My machine swap a lot when I have many readers. TIA Supak Lailert System Administrator SlipNet, Inc
Re: Sun Spark 40 vs. Dual P100 for NNTP?
Author: Brian Tao
Date: Tue, 14 May 1996 00:00
Date: Tue, 14 May 1996 00:00
31 lines
1876 bytes
1876 bytes
In article <3196B1A8.7411@slip.net>, Supak Lailert <lailert@slip.net> wrote:
>
>My RSS field shows something like 1500KB for each nnrpd process. I think
>something must be wrong on my machine.
Well, like I said, it depends on how your "ps" calculates the
resident portion of a process' memory image. I don't know how Solaris
does it, and it could be different from the way FreeBSD calculates it.
> I'm running news on Solaris 2.5 x86 on Pentium 100MHz 128MB RAM. INN
> was compiled using gcc 2.7.2. Sharedactive.patch was downloaded from
> dave barr's page.
There have been at least a couple iterations of the sharedactive
patch since it was first released. The one I'm using has this note
attached to it:
* [++russell Jan 27 1996 <vincent@ucthpx.uct.ac.za>]
* Found a problem under Solaris 2.4 whereby the shm ptr returned wasn't
* always constant, so I had to removed the shared mem version of GRPentries,
* GRPnextentry and GRPtable.
* (Seems to have stopped core dumps)
Maybe you don't have the latest version of the patch?
--
Brian Tao (BT300, taob@io.org, taob@ican.net)
Systems and Network Administrator, Internet Canada Corp.
"Though this be madness, yet there is method in't"
Re: Sun Spark 40 vs. Dual P100 for NNTP?
Author: Casper H.S. Dik - Network Securi...
Date: Tue, 14 May 1996 00:00
Date: Tue, 14 May 1996 00:00
25 lines
1607 bytes
1607 bytes
Supak Lailert <lailert@slip.net> writes: >My RSS field shows something like 1500KB for each nnrpd process. I think >something must be wrong on my machine. I'm running news on Solaris 2.5 x86 on >Pentium 100MHz 128MB RAM. INN was compiled using gcc 2.7.2. Sharedactive.patch >was downloaded from dave barr's page. >I need help on this. Is this normal for Solaris? My machine swap a lot when I >have many readers. It's normal for Solaris to report all pages in all mappings that are resident, shared or not. The size also includes shared and unshared pages. Check with "/usr/proc/bin/pmap" which segments use the memory. Casper -- Expressed in this posting are my opinions. They are in no way related to opinions held by my employer, Sun Microsystems. Statements on Sun products included here are not gospel and may be fiction rather than truth.
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