Article View: news.software.nntp
Article #18430Re: Increasing 1.5.1 Performance (0/1)
From: z
Date: Thu, 12 Jun 1997 00:00
Date: Thu, 12 Jun 1997 00:00
71 lines
2873 bytes
2873 bytes
1) Get the latest Adaptec driver, it supports SCB's per device or LUN settings. Look in linux/drivers/scsi/aic7xxx.c for other optimizations. Medium performance gain. (Included) 2) Make sure you have malloc.c in the MISSING_LIB and malloc.o in the MISSING_OBJ section of your config.data. HUGE PERFORMANCE GAIN 3) make sure you have the NO_ATIME kernel patch for the ext2 fs and mount the spool only with this option. ie Medium performance gain. (Included) /dev/sda3 ext2 /var/spool/news defaults,no_atime 2 2 or mount -t ext2 -o no_atime /dev/sda3 /var/spool/news 4) Make sure your block size on the spool is at 4096 not the default 1024. (Wastes some space in exchange for performance) 5) Install the patch that increases the kernels maximum FD's from 256 to 1024. Big help for support of more simultaneous readers. (Included) 6) Definately use -DMMAP on the DBZFLAGS and USE_MMAP DO in the config.data. Big performance gain. 7) Set the remember in the expire.ctl to 7 days to keep the history small enough to keep MMAP'ed. Dont forget, the active file gets MMAP'ed too. 8) Set LIKE_PULLERS to DO to eliminate the sleep inserted after each article command from a reader. 9) Add -m486 -DCPU=586 -O3 to the FLAGS for LD and CFLAGS (man gcc for descriptions) Here's my collection of files. All the patches worked on my kernel 2.0.29, they should work in 2.0.30 ok just make sure you are watching for rejected hunks... hope this helps! Paul. On Wed, 11 Jun 1997 17:34:02 -0500, Brian <signal@shreve.net> wrote: >I am interested in increasing the performance of our 1.5.1 news server. >Here is what we have: > >Linux 2.0.30 >128MB mem >200mhz pentium >25GB fast/wide scsi drive space (single drive! yuk! but don't have $$ to >change right now) >adaptec 2940UW controller > >I installed 1.5.1, and its running, READERS SEPERATE enabled. that is >the only "out of the box" modification I made. I keep hearing about a >few patches, and MMAP. Can someone please give me a basic rundown of a >few of the major tunable parameters? I cant change my hardware right >now, I need to work within what I have. But I can change the software >config. What are the parameter names/patch names, and if you have them >can you email them to me or post to the list? > >Thanks, > >Brian
Technical Details
Message-ID:
<339fa41f.270230372@news.winterlan.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:
<339F27DA.3E95798C@shreve.net>Show Full Headers
Complete Article Headers
Message-ID: <339fa41f.270230372@news.winterlan.com> Subject: Re: Increasing 1.5.1 Performance (0/1) Date: Thu, 12 Jun 1997 00:00:00 +0000 From: paulp@winterlan.com (z) References: <339F27DA.3E95798C@shreve.net> 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: 247825519 Newsgroups: news.software.nntp