Article View: news.software.readers
Article #7482Re: TIN is a huge pig -- still -- IS THERE A FIX FOR THIS COMING?
From: Karl Denninger
Date: Sat, 22 Jan 1994 18:57
Date: Sat, 22 Jan 1994 18:57
63 lines
3520 bytes
3520 bytes
In article <CK0159.AG3@rci.ripco.com>, Bruce Esquibel <bje@rci.ripco.com> wrote: >Karl Denninger (karl@MCS.COM) wrote: >: I am at my wits end. > >: If there is no fix for this sometime soon TIN gets tossed, perhaps >: permanently, off MCSNet. > >What a loss to the world. You must be a few days behind Bruce. I've integrated a few patches and turned it back on. >Just for the record, we use tin as the primary newsreader for our users, >offering trn and nn only if they request it. We pull the full feed from >uunet which is over the 7000 mark right now. > >The average memory tin uses is between 1.8m and 2.7m per copy depending on >how many groups are subscribed to. Wait until you have new groups added; you'll see what happens. The problem is not with feeds which are consistent -- it is with the reality that there are constantly new groups coming online. When that happens, TIN used to allocate a couple of new arrays in a seriously inefficient manner, and then not deallocate the unneeded one when it was done. The result was a 10+MB core image. Get a couple of those going and the performance of the system goes straight to hell. Now, once the user gets the groups add message, does it, and then runs TIN again all is well in Denmark -- until the next time. When you have <real> load on your machines, though, you'll find that it only takes once that three or four users fire up tin at roughly the same interval after a newgroup is processed -- your server will get slagged. >I don't know anything about a memory patch but I can tell you if you are >running tin under nntp, you screwed up there. We ran into the same problem >once when we were tinkering with it. Ended up with a version that used 20m+ >and it kept growing. Nope. I don't believe in NNTP for LAN connections. But that's a religious war that is not appropriate for this group. :-) >The tin distribution has a whole section on nntp, read the words, understand >their meaning, live by them and everything will be right with the world. > >bje@rci.ripco.com BTW, the two patches posted here are compatible with a little work. The first one (resizing the arrays to malloc storage instead of using insane blocks of core) helps a lot. Add in the second patch (which removes the second array botch) and you get <real> progress. We're well under 2MB a copy now, with a RSS of about 1.2 MB. That's the solution. The TIN maintainers should pick up and incorporate <both> of those patches. They work and solve the problem admirably. -- Karl Denninger (karl@MCS.COM) | MCSNet - Full Internet Connectivity (shell, Modem: [+1 312 248-0900] | PPP, SLIP and more) in Chicago and 'burbs. Voice/FAX: [+1 312 248-8649] | Email "info@mcs.com". MCSNet is a CIX member.
Technical Details
Message-ID:
<2hrsv7$h6t@Mercury.mcs.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!sol.ctr.columbia.edu!news.kei.com!ddsw1!not-for-mailReferences:
<2hic56$2n7@Mercury.mcs.com> <CK0159.AG3@rci.ripco.com>Show Full Headers
Complete Article Headers
Message-ID: <2hrsv7$h6t@Mercury.mcs.com> Subject: Re: TIN is a huge pig -- still -- IS THERE A FIX FOR THIS COMING? Date: Sat, 22 Jan 1994 18:57:43 +0000 From: karl@MCS.COM (Karl Denninger) References: <2hic56$2n7@Mercury.mcs.com> <CK0159.AG3@rci.ripco.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!xlink.net!howland.reston.ans.net!sol.ctr.columbia.edu!news.kei.com!ddsw1!not-for-mail Newsgroups: news.software.readers Organization: MCSNet Ops, Chicago, IL Lines: 63 NNTP-Posting-Host: mercury.mcs.com