🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #30076

Re: madvise() works (!)

#30076
From: Marc Slemko
Date: Mon, 27 Jul 1998 00:00
20 lines
1616 bytes
In <6pif6k$aru$1@newssvr09-int.news.prodigy.com> davidsen@tmr.com (bill davidsen) writes:

>|     I see a major increase in disk efficiency and a noticeable decrease in
>|     dnewslink latencies.  On news1.best.com with 76+ dnewslink's running each
>|     disk was saturating at around 1000 sps (essentially a seek-bound situation)
>|     After changing dnewslink to call madvise with MADV_SEQUENTIAL, each disk
>|     is now saturating at 1800 sps.  (I am presuming that the extra information
>|     read from disk is being put to good use since dnewslink dumps the whole
>|     article over the network). 

>1000sps = 1ms seek, 1800sps = 550us seek. Either you you have access to
>a brand of drive I've never seen or your "each disk" measurement must be
>for an entire RAID array.

I think he means iostat sps's, which are sectors per second.

What he is saying is that the madvise() reduced the seeking which
used to limit his transfer rates.

Technical Details
Message-ID: <6pigf7$nph$1@scanner.worldgate.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <6pg4rq$drt$1@flea.best.net> <6pif6k$aru$1@newssvr09-int.news.prodigy.com>

Show Full Headers
Complete Article Headers
Message-ID: <6pigf7$nph$1@scanner.worldgate.com>
Subject: Re: madvise() works (!)
Date: Mon, 27 Jul 1998 00:00:00 +0000
From: Marc Slemko <marcs@znep.com>
References: <6pg4rq$drt$1@flea.best.net> <6pif6k$aru$1@newssvr09-int.news.prodigy.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 375385035
Organization: WorldGate Inc. http://www.worldgate.com/
Newsgroups: news.software.nntp,comp.unix.bsd.freebsd.misc