Article View: news.software.nntp
Article #11324Re: Incoming feed acknowledgment speed & Backlog
From: Jerry Aguirre
Date: Wed, 02 Oct 1996 00:00
Date: Wed, 02 Oct 1996 00:00
67 lines
3911 bytes
3911 bytes
In article <lyle-ya023180000210961146000001@news.azlink.com> lyle@azlink.com (Lyle Scully) writes: >OS: Solaris 2.4 >Machine: Sparc 20 w/ 128mb of ram >FS: Seagate 9gb SCSI drive >INND Version: 1.4unoff4 ... > 11:53 388.83 8.89 1704.16 1316.62 1000 1000 3418.50 > 13:26 400.58 5.06 3591.01 1592.85 1000 1000 5589.50 > >According to them the IHAVE should be around 100ms, RCPTack should be >around 250ms, AVGtime should be around 900ms, to handle a full news feed. A >trace from them to us shows times of around 120-164ms in 6 hops. Your probably seeing several effects here. One is the 2*RTT limit of conventional NNTP. In this case the "RTT" includes not only the transit time of the network connection but also the response time of the server, and to a lesser extent, the client. A single NNTP feed only sends one article at a time and waits for each to be processed before sending the next. You might think that the RTT of the link was the critcial factor but consider the disk issues. The "ihave" part of the transaction requires your server to check the history file. Ideally this is all done in RAM and should be fast. But as the history file grows the performance decreases and more and more it has to go to the text file. (Due to the reduction in size, or elination of, the "tag" bits.) So those disk reads also add to the response time of your server. DBZ was designed back with history files were less than 16 MB. The article transmission requires your server to "create" a new disk file. By default file creations are synchronous. That means that the file system actually goes out to update the directory and inode on disk. If the article is cross posted then links have to be made for each group. These are also synchronous so INND is blocked until they complete. Add to that INND may be competing with other accesses. If several user's are reading then INND's request may queue behind them requiring several times the delay to process. Outgoing feeds also compete for disk bandwidth. That is why your response goes down during the "peak" times. Aggrivating this is your disk configuration. News disk load is dominated by seeks due to the way it stores and accesses articles. You only have one drive to do the seeks. With multiple drives it is possible to spread the load and increase thruput. While INND is creating an article on one drive readers can be browsing another. Many people feel that 2GB drives are optimal for news. Bigger drives seem to have trouble getting the quantity of data they store in and out thru the bandwidth they provide. See if you can find someone to swap you some smaller drives for the 9G. Multiple drives will reduce your delays somewhat. Try to use "streaming NNTP" if your server and feed can support it. This extension to regular NNTP avoids the 2*RTT limit. If not see if they can split your feed. Using the size so large articles are sent via one feed while small are sent via another is a good way to do that. The -L flag and "crosspost" daemon will also reduce your delays somewhat. This moves the overhead of creating the symbolic links out of INND so more processing can be done in parallel. Jerry Aguirre
Technical Details
Message-ID:
<52ur1t$879@olivea.ATC.Olivetti.Com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<lyle-ya023180000210961146000001@news.azlink.com>Show Full Headers
Complete Article Headers
Message-ID: <52ur1t$879@olivea.ATC.Olivetti.Com> Subject: Re: Incoming feed acknowledgment speed & Backlog Date: Wed, 02 Oct 1996 00:00:00 +0000 From: jerry@ATC.Olivetti.Com (Jerry Aguirre) References: <lyle-ya023180000210961146000001@news.azlink.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 186789435 Distribution: inet Organization: Olivetti ATC; Cupertino, CA; USA Newsgroups: news.software.nntp