Thread View: news.software.nntp
14 messages
14 total messages
Started by Matt Dillon
Sun, 26 Jul 1998 00:00
madvise() works (!)
Author: Matt Dillon
Date: Sun, 26 Jul 1998 00:00
Date: Sun, 26 Jul 1998 00:00
87 lines
4718 bytes
4718 bytes
I've started messing with calling madvise() after mmap(). It
actually works! At least on FreeBSD systems.
Without calling madvise() I get page faults accessing the newly
minted mmap of a file.
If I call madvise() for the address range with MADV_WILLNEED, the
OS will pre-fault (fill in the page table) for any pages related
to the file that it finds in the buffer cache.
If I *also* call madvise() for the address range with MADV_SEQUENTIAL,
the OS increases the number of pages read-ahead when a page-fault
does occur in the mmap.
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).
news1:/news> iostat 1
tty sd0 sd1 sd2 cpu
tin tout sps tps msps sps tps msps sps tps msps us ni sy in id
0 8 227 47 0.0 -304 68 0.3 -303 68 0.3 22 0 23 9 47
0 671321 79 0.0 1851 75 0.0 1189 56 0.0 48 0 32 12 8
0 671216 71 0.0 1357 75 0.0 826 44 0.0 42 0 36 9 13
0 671187 78 0.0 1596 83 0.0 1135 101 0.0 48 0 44 5 2
0 671246 64 0.0 1591 76 0.0 1528 135 0.0 33 0 35 15 18
0 671276 64 0.0 1621 69 0.0 1955 125 0.0 36 0 32 8 23
0 671111 62 0.0 1977 189 0.0 2044 95 0.0 20 0 29 9 42
0 67 889 47 0.0 1205 70 0.0 1885 80 0.0 39 0 35 9 18
^^^^^^^^^^^^^^^^^^^^^^^^^^^
CCD's /news/spool/news (Diablo spool)
The effect MADV_WILLNEED has on the system is just as pronounced.
The dnewslink processes are taking fewer page faults.
Example where no page fault occurs:
23192 dnewslink 0.000013 CALL mmap(0,0x2000,0x1,0x1,0xe,0,0xf000,0)
23192 dnewslink 0.000039 RET mmap 537149440/0x20044000
23192 dnewslink 0.000020 CALL madvise(0x20044a44,0x614,0x3)
23192 dnewslink 0.000020 RET madvise 0
23192 dnewslink 0.000016 CALL madvise(0x20044a44,0x614,0x2)
23192 dnewslink 0.000013 RET madvise 0
(internal buffer copy)
23192 dnewslink 0.000097 CALL munmap(0x20044000,0x2000)
23192 dnewslink 0.000025 RET munmap 0
Example where I/O fault occurs:
23192 dnewslink 0.000018 CALL mmap(0,0x2000,0x1,0x1,0x10,0,0x19000,0)
23192 dnewslink 0.000055 RET mmap 537149440/0x20044000
23192 dnewslink 0.000019 CALL madvise(0x20044ae5,0x7c6,0x3)
23192 dnewslink 0.000026 RET madvise 0
23192 dnewslink 0.000015 CALL madvise(0x20044ae5,0x7c6,0x2)
23192 dnewslink 0.000015 RET madvise 0
(internal buffer copy)
23192 dnewslink 0.094233 CALL munmap(0x20044000,0x2000) <<<<<<<<<<<<
23192 dnewslink 0.002245 RET munmap 0
But... no more page faults are occuring that aren't I/O faults. And when an
I/O fault *does* occur the system is reading in more pages... 32K worth
instead of 16K. AND it's even streaming a little... on an I/O fault it reads
8 (x4K) pages but only maps 7 of them in order to force a normal page fault
(that can be resolved from the buffer cache) on the 8th page which it can
use to bootstrap the read-ahead for next 8 pages.
madvise() MADV_FREE is also very interesting. I may start calling it in the
memory allocation module for bestwwwd rather then munmap(). Using mmap() with
MAP_ANON is a great way to allocate memory, but it causes page faults.
MADV_FREE solves this problem by allowing me to put in more hysteresis
when dealing with multiple memory segments yet still giving the system the
ability to throw away the page.
This is *very* cool stuff.
-Matt
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Re: madvise() works (!)
Author: Matt Dillon
Date: Sun, 26 Jul 1998 00:00
Date: Sun, 26 Jul 1998 00:00
50 lines
2827 bytes
2827 bytes
:In article <6pgjnb$5n1@newsops.execpc.com>,
:Joe Greco <jgreco@ns.sol.net> wrote:
:>In comp.unix.bsd.freebsd.misc article <6pg4rq$drt$1@flea.best.net>, dillon@best.net (Matt Dillon) wrote:
:..
:>bit more complex than on FreeBSD. However, the last time I actually looked
:>at the implementations was quite a while ago, so it's quite possible that
:>FreeBSD's implementation has surpassed the Solaris implementation (I would
:>tend to expect that of John Dyson, John we miss you!! ...)
:>I am quite happy to hear that these features might be used under Diablo,
:>someday soon, since I'm very aware of their performance-enhancing abilities.
It'l be in the next release.
:>(Did you ever integrate the poll-on-file stuff?)
:>
:>... JG
Yes, but it doesn't work perfectly. When you use the
POLLEXTEND extension to poll() on FreeBSD to poll for a
file append, it only poll's for a new append starting
when poll() was called. If the append occurs after the
read() (that returned EOF) but before the poll() call, it
misses it and unless another extend occurs it will not
return until the timeout period. What it really needs
to do for a normal file is check to see if the file's size
is larger then the current seek position and return
immediately if so, prior to waiting for an extend.
It's a small but very real window. So I kludged it... the
timeout is set to 1 second. Beyond that it works fine.
2437 dnewslink 0.000040 RET read 0
2437 dnewslink 0.000037 CALL stat(0x32f50,0xefbfcb34)
2437 dnewslink 0.000028 NAMI "/news/dqueue/nntp3"
2437 dnewslink 0.000088 RET stat 0
2437 dnewslink 0.000039 CALL poll(0xefbfcb2c,0x1,0x3e8)
2437 dnewslink 0.604183 RET poll 1
I am also using it to replace alarm() in the read loop to
handle the timeout, though, which is more useful. alarm() is a
relatively expensive syscall.
-Matt
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Re: madvise() works (!)
Author: Joe Greco
Date: Sun, 26 Jul 1998 00:00
Date: Sun, 26 Jul 1998 00:00
33 lines
2444 bytes
2444 bytes
In comp.unix.bsd.freebsd.misc article <6pg4rq$drt$1@flea.best.net>, dillon@best.net (Matt Dillon) wrote: : I've started messing with calling madvise() after mmap(). It : actually works! At least on FreeBSD systems. : [...] : 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). : [...] :This is *very* cool stuff. This is why I begged John Dyson to implement these functions. I use them for a variety of things under INN to help optimize memory accesses, on the theory that I have a better idea of how news utilizes data than the std algorithms in the OS does. It was the difference between 400 nnrp clients and 300 nnrp clients w/o here. madvise() also works on Solaris systems, although the interactions are a bit more complex than on FreeBSD. However, the last time I actually looked at the implementations was quite a while ago, so it's quite possible that FreeBSD's implementation has surpassed the Solaris implementation (I would tend to expect that of John Dyson, John we miss you!! ...) I am quite happy to hear that these features might be used under Diablo, someday soon, since I'm very aware of their performance-enhancing abilities. (Did you ever integrate the poll-on-file stuff?) ... JG
Re: madvise() works (!)
Author: Matt Dillon
Date: Mon, 27 Jul 1998 00:00
Date: Mon, 27 Jul 1998 00:00
13 lines
1054 bytes
1054 bytes
Oh, I see... you thought sps meant seeks-per-second :-)
no, it was sectors-per-second.
I wish I had disks that fast!
-Matt
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Re: madvise() works (!)
Author: Matt Dillon
Date: Mon, 27 Jul 1998 00:00
Date: Mon, 27 Jul 1998 00:00
234 lines
26815 bytes
26815 bytes
:In article <6pif6k$aru$1@newssvr09-int.news.prodigy.com>,
:bill davidsen <davidsen@tmr.com> wrote:
:>In article <6pg4rq$drt$1@flea.best.net>, Matt Dillon <dillon@best.net> wrote:
:...
:>| 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.
:>
:>--
:>Bill Davidsen (davidsen@tmr.com) CTO, TMR Associates, Inc
sps != seek time. The reason the transfer rate went up was because
the OS started doing larger linear reads... reading 32KBytes at a time
off of the disk rather then 16KBytes at a time. Since the disk is seek
limited, the larger linear reads didn't cost us anything.
news1:/home/dillon# iostat 1
tty sd0 sd1 sd2 cpu
tin tout sps tps msps sps tps msps sps tps msps us ni sy in id
0 45 989 49 0.0 876 49 0.0 868 49 0.0 31 0 22 8 39
0 67 786 51 0.0 640 50 0.0 1830 73 0.0 59 0 29 12 0
0 671705 117 0.0 2140 106 0.0 1731 134 0.0 4 0 16 1 79
0 671764 112 0.0 2080 209 0.0 786 53 0.0 2 0 6 5 88
0 673927 108 0.0 1709 214 0.0 394 20 0.0 10 0 11 5 75
0 671278 72 0.0 2381 298 0.0 1873 23 0.0 66 0 25 9 1
0 123 656 38 0.0 1092 122 0.0 1636 69 0.0 65 0 28 7 0
^^^^ ^^^^^
A more accurate description of the seek is the 'tps' parameter...
'transfers per second' verses 'sectors per second'. As you can
see, it's sitting at around 5 to 10 ms when the disk is saturating.
-Matt
UID PID PPID CPU PRI NI VSZ RSS WCHAN STAT TT TIME COMMAND
0 0 0 0 -18 0 0 0 sched DLs ?? 0:00.09 (swapper)
0 1 0 0 10 0 484 80 wait Is ?? 0:00.70 /sbin/init --
0 2 0 59 -18 0 0 12 psleep DL ?? 5:56.23 (pagedaemon)
0 3 0 0 28 0 0 12 psleep DL ?? 0:00.00 (vmdaemon)
0 4 0 15 31 0 0 12 update DL ?? 1:39.09 (update)
0 102 1 57 2 -12 420 228 select S<s ?? 0:05.09 xntpd -p /var/run/xntpd.pid
0 109 1 2 -6 0 208 236 biowai Ds ?? 0:10.84 syslogd -s
0 118 1 2 2 0 1580 1504 select Ss ?? 0:38.73 /usr/sbin/named -b /etc/namedb/named.boot
0 151 1 3 2 0 212 184 select Is ?? 0:00.30 inetd
0 154 1 1 18 0 332 204 pause Ss ?? 0:00.57 cron
0 196 1 10 2 0 348 212 select Is ?? 0:03.01 /usr/local/sbin/sshd (sshd1)
0 226 1 7 2 -20 488 244 select S< ?? 0:00.97 /usr/local/bin/bestwwwd -d /webadmin
65534 229 226 5 2 3 488 208 sbwait IN ?? 0:00.01 /usr/local/bin/bestwwwd -d /webadmin
65534 230 226 26 2 3 488 120 sbwait IN ?? 0:00.00 /usr/local/bin/bestwwwd -d /webadmin
65534 231 226 26 2 3 488 120 sbwait IN ?? 0:00.00 /usr/local/bin/bestwwwd -d /webadmin
65534 238 226 0 2 0 496 604 select S ?? 0:05.41 /usr/local/bin/bestwwwd -d /webadmin
65534 239 226 0 2 0 488 180 select S ?? 0:05.29 /usr/local/bin/bestwwwd -d /webadmin
0 240 1 0 18 0 144 172 pause Is ?? 0:00.47 /usr/local/sbin/stayup /var/run/named.pid:/usr/sbin/named /var/run/syslog.
0 13794 196 11 2 0 708 576 select I ?? 0:00.63 /usr/local/sbin/sshd (sshd1)
0 13890 196 27 2 0 712 1096 select S ?? 0:01.81 /usr/local/sbin/sshd (sshd1)
8 14157 1 0 -14 0 344 232 ufslk2 D ?? 0:01.20 dnewslink: nntp1.ba.best.com nntp1c process 552 (dnewslink)
8 14161 1 0 18 0 344 232 pause S ?? 0:01.04 dnewslink: nntp2.ba.best.com nntp2c wait/in 505 (dnewslink)
8 14164 1 2 2 0 344 232 sbwait S ?? 0:00.23 dnewslink: hades.bactc.com bactc process 30 (dnewslink)
8 14166 1 37 2 0 344 232 sbwait S ?? 0:02.05 dnewslink: news.biz.net biz process 1803 (dnewslink)
8 14168 1 0 18 0 344 232 pause S ?? 0:00.29 dnewslink: nbor.borwankar.com borwankar wait/in 60 (dnewslink)
8 14170 1 0 18 0 344 232 pause S ?? 0:00.62 dnewslink: styx.captech.com captech wait/in 178 (dnewslink)
8 14172 1 84 -18 0 344 232 vnread D ?? 0:06.29 dnewslink: news.greatbasin.net greatbasin.S51356 process 1837 (dnewslink)
8 14174 1 13 18 0 344 232 pause S ?? 0:00.90 dnewslink: myrddin.imat.com imat wait/in 175 (dnewslink)
8 14177 1 0 18 0 344 224 pause S ?? 0:00.13 dnewslink: news.marin.k12.ca.us marink12 wait/in 0 (dnewslink)
8 14180 1 0 18 0 344 232 pause S ?? 0:00.35 dnewslink: news.qualitysemi.com qualitysemi wait/in 60 (dnewslink)
8 14182 1 4 2 0 344 232 sbwait S ?? 0:02.60 dnewslink: newshub.sirius.com sirius wait/in 2708 (dnewslink)
8 14184 1 17 18 0 344 232 pause S ?? 0:03.57 dnewslink: news2.slip.net slip wait/in 2411 (dnewslink)
8 14187 1 16 -18 0 344 236 vnread D ?? 0:01.08 dnewslink: news.tdl.com tdl process 1026 (dnewslink)
8 14188 1 3 2 0 344 232 sbwait S ?? 0:00.34 dnewslink: news-fr.value.net value.S48517 process 285 (dnewslink)
8 14190 1 17 18 0 344 232 pause S ?? 0:02.74 dnewslink: peerfeed.ncal.verio.net aimnet wait/in 2615 (dnewslink)
8 14192 1 0 18 0 344 216 pause S ?? 0:00.08 dnewslink: news.bogon.com bogon wait/in 0 (dnewslink)
8 14194 1 151 2 0 344 232 sbwait S ?? 0:05.01 dnewslink: newsfeed.dacom.co.kr dacom process 2574 (dnewslink)
8 14196 1 0 18 0 344 232 pause S ?? 0:00.37 dnewslink: news.demos.su demos wait/in 237 (dnewslink)
8 14197 1 14 -18 0 344 312 vnread D ?? 0:00.77 dnewslink: newsfeed.dra.net dra.S71608 process 1443 (dnewslink)
8 14199 1 14 18 0 344 232 pause S ?? 0:02.57 dnewslink: news.exodus.net exodus wait/in 2507 (dnewslink)
8 14201 1 8 -14 0 344 232 ufslk2 D ?? 0:04.92 dnewslink: noos.hooked.net hooked process 1749 (dnewslink)
8 14203 1 0 18 0 344 216 pause S ?? 0:00.09 dnewslink: news.cs.jhu.edu jhu wait/in 0 (dnewslink)
8 14205 1 0 18 0 344 220 pause S ?? 0:00.09 dnewslink: news.adelaide.on.net jsamtb wait/in 0 (dnewslink)
8 14207 1 0 18 0 344 220 pause S ?? 0:00.09 dnewslink: news.kjsl.com kjsl wait/in 0 (dnewslink)
8 14209 1 10 18 0 344 232 pause S ?? 0:02.85 dnewslink: newshub.northeast.verio.net verioeast wait/in 2664 (dnewslink)
8 14211 1 0 18 0 344 232 pause S ?? 0:01.75 dnewslink: news.sgi.com sgigate wait/in 1941 (dnewslink)
8 14213 1 0 18 0 344 224 pause S ?? 0:00.12 dnewslink: darwin.ediacara.org sickkids wait/in 0 (dnewslink)
8 14215 1 0 18 0 344 232 pause S ?? 0:00.71 dnewslink: news.this.com this wait/in 469 (dnewslink)
8 14217 1 0 18 0 344 232 pause S ?? 0:02.52 dnewslink: news.voicenet.com voicenet wait/in 2763 (dnewslink)
8 14219 1 0 18 0 344 224 pause S ?? 0:00.12 dnewslink: news.vrx.net vrx wait/in 0 (dnewslink)
8 14222 1 0 18 0 344 232 pause S ?? 0:00.63 dnewslink: sun500.nas.nasa.gov nas wait/in 530 (dnewslink)
8 14224 1 0 18 0 344 232 pause S ?? 0:02.49 dnewslink: newshub1.home.com athome wait/in 2701 (dnewslink)
8 14226 1 183 18 0 344 232 pause S ?? 0:06.95 dnewslink: su-news-hub1.bbnplanet.com bbn wait/in 2196 (dnewslink)
8 14228 1 0 18 0 344 228 pause S ?? 0:00.25 dnewslink: su-news-hub1.bbnplanet.com bbn2 wait/in 148 (dnewslink)
8 14230 1 91 18 0 344 232 pause S ?? 0:03.94 dnewslink: best-in.news.erols.com erols wait/in 2331 (dnewslink)
8 14232 1 0 18 0 344 228 pause S ?? 0:00.20 dnewslink: best-in.news.erols.com erols2 wait/in 88 (dnewslink)
8 14235 1 130 18 0 344 232 pause S ?? 0:04.65 dnewslink: newsfeed.internetmci.com internetmci wait/in 2191 (dnewslink)
8 14237 1 0 18 0 344 228 pause S ?? 0:00.23 dnewslink: newsfeed.internetmci.com internetmci2 wait/in 99 (dnewslink)
8 14239 1 0 18 0 344 228 pause S ?? 0:00.36 dnewslink: nntprelay.mathworks.com mathworks wait/in 145 (dnewslink)
8 14242 1 0 18 0 344 232 pause S ?? 0:01.76 dnewslink: news.maxwell.syr.edu maxwell wait/in 1162 (dnewslink)
8 14244 1 0 18 0 344 228 pause S ?? 0:00.42 dnewslink: news-feed.nacamar.de nacamar wait/in 423 (dnewslink)
8 14249 1 0 18 0 344 228 pause S ?? 0:02.47 dnewslink: best.nntp.giganews.com texas wait/in 2653 (dnewslink)
8 14251 1 6 18 0 344 232 pause S ?? 0:02.49 dnewslink: newsxfer3.itd.umich.edu umich wait/in 2063 (dnewslink)
8 14253 1 0 18 0 344 216 pause S ?? 0:00.09 dnewslink: news.clues.com cluesu2 wait/in 0 (dnewslink)
8 14255 1 0 18 0 344 216 pause S ?? 0:00.09 dnewslink: news.galstar.com galstaru2 wait/in 0 (dnewslink)
8 14257 1 0 18 0 344 216 pause S ?? 0:00.09 dnewslink: news.islandnet.com islandnetu2 wait/in 0 (dnewslink)
8 14259 1 0 18 0 344 216 pause S ?? 0:00.08 dnewslink: news1.mid-ga.com mid-gau2 wait/in 0 (dnewslink)
8 14261 1 0 18 0 344 216 pause S ?? 0:00.08 dnewslink: news.xnet.com xnetu2 wait/in 0 (dnewslink)
8 14274 1 175 2 -5 476 2724 select S< ?? 2:50.70 dbin/diablo -p news1.best.com server -S -M 200
8 14277 14274 126 2 -5 496 2176 sbwait I< ?? 0:01.44 diablo: ihav=0 chk=0 rec=0 ent=0 duster.adelaide.on.net (diabl
8 14295 14274 70 -5 -5 504 5416 getblk D< ?? 0:01.36 diablo: ihav=0 chk=387 rec=330 ent=298 news.maxwell.syr.edu (diablo)
8 14296 14274 55 -5 -5 504 6092 getblk D< ?? 0:06.10 diablo: ihav=0 chk=1547 rec=488 ent=314 newsfeed.nacamar.de (diablo)
8 14299 14274 101 -5 -5 504 6776 getblk D< ?? 0:02.18 diablo: ihav=0 chk=861 rec=537 ent=514 news.maxwell.syr.edu (diablo)
8 14300 14274 36 -5 -5 504 8440 getblk D< ?? 0:06.30 diablo: ihav=0 chk=2574 rec=480 ent=316 newsfeed.nacamar.de (diablo)
8 14301 14274 130 -5 -5 504 5348 getblk D< ?? 0:01.63 diablo: ihav=0 chk=1577 rec=359 ent=199 newsfeed.nacamar.de (diablo)
8 14303 14274 16 -5 -5 504 5420 getblk D< ?? 0:01.11 diablo: ihav=0 chk=724 rec=269 ent=183 newsfeed.nacamar.de (diablo)
8 14304 14274 4 -5 -5 504 5908 getblk D< ?? 0:01.62 diablo: ihav=0 chk=516 rec=415 ent=372 news.maxwell.syr.edu (diablo)
8 14305 14274 93 -5 -5 504 6216 getblk D< ?? 0:01.67 diablo: ihav=0 chk=561 rec=404 ent=387 news.maxwell.syr.edu (diablo)
8 14307 14274 143 -5 -5 504 5876 getblk D< ?? 0:01.74 diablo: ihav=0 chk=1486 rec=369 ent=202 newsfeed.nacamar.de (diablo)
8 14308 14274 43 2 -5 504 6172 sbwait S< ?? 0:01.89 diablo: ihav=0 chk=595 rec=499 ent=449 news.maxwell.syr.edu (diablo)
8 14315 14274 12 2 -5 504 7476 sbwait I< ?? 0:07.15 diablo: ihav=0 chk=4377 rec=757 ent=571 feed1.news.erols.com (diablo)
8 14319 14274 55 2 -5 496 2772 sbwait I< ?? 0:00.84 diablo: ihav=0 chk=232 rec=182 ent=155 news.sgi.com (diablo)
8 14320 14274 255 2 -5 504 2716 sbwait I< ?? 0:00.56 diablo: ihav=0 chk=99 rec=144 ent=131 news.sgi.com (diablo)
8 14321 14274 47 -5 -5 504 4744 getblk D< ?? 0:02.25 diablo: ihav=0 chk=1696 rec=416 ent=313 news.sgi.com (diablo)
8 14322 14274 29 2 -5 504 3172 sbwait I< ?? 0:01.64 diablo: ihav=0 chk=645 rec=346 ent=321 news.nacamar.de (diablo)
8 14323 14274 172 2 -5 504 3204 sbwait I< ?? 0:01.19 diablo: ihav=0 chk=572 rec=290 ent=278 news.nacamar.de (diablo)
8 14324 14274 255 2 -5 504 3236 sbwait I< ?? 0:01.22 diablo: ihav=0 chk=530 rec=288 ent=272 news.nacamar.de (diablo)
8 14325 14274 105 2 -5 496 2224 sbwait I< ?? 0:00.04 diablo: ihav=0 chk=0 rec=0 ent=0 news.tdl.com (diablo)
8 14326 14274 38 -5 -5 504 5328 getblk D< ?? 0:04.86 diablo: ihav=0 chk=550 rec=63 ent=56 news.demos.su (diablo)
8 14327 14274 255 2 -5 504 3520 sbwait I< ?? 0:01.54 diablo: ihav=0 chk=865 rec=491 ent=442 news1.dra.com (diablo)
8 14328 14274 201 2 -5 496 2244 sbwait I< ?? 0:00.04 diablo: ihav=0 chk=0 rec=0 ent=0 foobar.cs.jhu.edu (diablo)
8 14331 14274 255 2 -5 496 2260 sbwait I< ?? 0:00.04 diablo: ihav=0 chk=0 rec=0 ent=0 news.sgi.com (diablo)
8 14333 14274 86 2 -5 504 2656 sbwait I< ?? 0:00.44 diablo: ihav=0 chk=161 rec=69 ent=65 news.nacamar.de (diablo)
8 14334 14274 17 2 -5 504 7044 sbwait S< ?? 0:00.88 diablo: ihav=0 chk=1394 rec=76 ent=72 news.nacamar.de (diablo)
8 14337 14274 255 2 -5 496 3320 sbwait I< ?? 0:00.32 diablo: ihav=0 chk=741 rec=52 ent=52 news.this.com (diablo)
8 14338 14274 56 2 -5 496 2736 sbwait I< ?? 0:00.11 diablo: ihav=0 chk=235 rec=11 ent=11 news.this.com (diablo)
8 14339 14274 141 2 -5 496 2588 sbwait I< ?? 0:00.07 diablo: ihav=0 chk=141 rec=1 ent=1 news.this.com (diablo)
8 14340 14274 203 2 -5 496 2456 sbwait I< ?? 0:00.04 diablo: ihav=0 chk=35 rec=0 ent=0 news.this.com (diablo)
8 14341 14274 66 2 -5 504 2748 sbwait S< ?? 0:00.18 diablo: ihav=0 chk=492 rec=2 ent=2 news.this.com (diablo)
8 14342 14274 198 -5 -5 504 4852 getblk D< ?? 0:01.03 diablo: ihav=0 chk=747 rec=173 ent=159 snipp.uninett.no (diablo)
8 14343 14274 19 2 -5 496 3096 sbwait I< ?? 0:00.29 diablo: ihav=0 chk=299 rec=47 ent=41 snipp.uninett.no (diablo)
8 14344 14274 89 2 -5 500 4024 sbwait S< ?? 0:00.39 diablo: ihav=0 chk=1207 rec=15 ent=14 hpsdlo.sdd.hp.com (diablo)
8 14345 14274 208 2 -5 496 2276 sbwait I< ?? 0:00.04 diablo: ihav=0 chk=0 rec=0 ent=0 news.sgi.com (diablo)
8 14346 14274 206 2 -5 496 2276 sbwait I< ?? 0:00.04 diablo: ihav=0 chk=0 rec=0 ent=0 Skyhawk.KJSL.COM (diablo)
8 14348 14274 31 -6 -5 496 3428 biowai D< ?? 0:00.25 diablo: ihav=0 chk=706 rec=1 ent=1 news1.dra.com (diablo)
8 14350 14274 255 2 -5 496 2460 sbwait I< ?? 0:00.05 diablo: ihav=14 chk=0 rec=2 ent=2 zipzap.wetware.com (diablo)
8 14352 14274 43 2 -5 504 7844 sbwait S< ?? 0:03.95 diablo: ihav=0 chk=3467 rec=374 ent=248 feed1.news.erols.com (diablo)
8 14353 14274 3 2 -5 504 6212 sbwait S< ?? 0:05.42 diablo: ihav=0 chk=1027 rec=391 ent=286 su-news-hub1.bbnplanet.com (d
8 14356 14274 177 2 -5 496 2492 sbwait I< ?? 0:00.05 diablo: ihav=3 chk=0 rec=2 ent=2 news.islandnet.com (diablo)
8 14357 14274 187 2 -5 504 9208 sbwait S< ?? 0:01.26 diablo: ihav=0 chk=3958 rec=51 ent=41 hole.sdsu.edu (diablo)
8 14360 14274 130 2 -5 504 4484 sbwait I< ?? 0:00.44 diablo: ihav=0 chk=1155 rec=30 ent=28 hole.sdsu.edu (diablo)
8 14368 14274 188 2 -5 496 3072 sbwait I< ?? 0:00.13 diablo: ihav=0 chk=271 rec=6 ent=5 hole.sdsu.edu (diablo)
8 14369 14274 180 2 -5 496 3356 sbwait I< ?? 0:00.13 diablo: ihav=0 chk=337 rec=5 ent=4 hole.sdsu.edu (diablo)
8 14374 14274 200 2 -5 496 2328 sbwait I< ?? 0:00.04 diablo: ihav=0 chk=0 rec=0 ent=0 hole.sdsu.edu (diablo)
8 14379 1 0 2 0 344 232 sbwait S ?? 0:00.15 dnewslink: news.archive.org archive.S47177 process 115 (dnewslink)
8 14380 1 22 -18 0 344 236 vnread D ?? 0:01.12 dnewslink: news.batnet.com batnet.S47639 process 872 (dnewslink)
8 14382 1 0 2 0 344 232 sbwait S ?? 0:00.03 dnewslink: news.c2.org ctwo.S38110 process 10 (dnewslink)
8 14384 1 29 -18 0 344 360 vnread D ?? 0:00.83 dnewslink: nntp.dnai.com dnai.S47606 process 1452 (dnewslink)
8 14386 1 94 -18 0 344 364 vnread D ?? 0:01.93 dnewslink: news.greatbasin.net greatbasin process 1007 (dnewslink)
8 14387 1 44 2 0 344 232 sbwait S ?? 0:00.96 dnewslink: news.impulse.net impulse.S47739 process 521 (dnewslink)
8 14389 1 31 2 0 344 232 sbwait I ?? 0:00.24 dnewslink: news.linex.com linex.S43893 process 153 (dnewslink)
8 14392 1 0 2 0 344 256 sbwait S ?? 0:00.07 dnewslink: feeder.northcoast.com northcoast.S41388 process 36 (dnewslink)
8 14394 1 0 2 0 344 232 sbwait S ?? 0:00.04 dnewslink: phcomm2.phc.net phc.S47213 process 27 (dnewslink)
8 14396 1 135 -18 0 344 608 vnread D ?? 0:02.13 dnewslink: news.sfo.com sfo.S47148 process 882 (dnewslink)
8 14398 1 255 -18 0 344 236 vnread D ?? 0:03.89 dnewslink: 198.99.198.75 supermac.S52629 process 1423 (dnewslink)
8 14399 1 114 -18 0 344 236 vnread D ?? 0:04.00 dnewslink: nntp.transmeta.com transmeta.S70155 process 1981 (dnewslink)
8 14402 1 184 -18 0 344 656 vnread D ?? 0:05.32 dnewslink: nntp.wetware.com wetware.S47832 process 1849 (dnewslink)
8 14404 1 74 2 0 344 232 sbwait S ?? 0:01.07 dnewslink: news.romoidoy.com zoom.S47168 process 561 (dnewslink)
8 14405 1 0 2 0 344 232 sbwait S ?? 0:00.12 dnewslink: news.cygnus.com cygnus.S49537 process 94 (dnewslink)
8 14406 1 14 2 0 344 232 sbwait S ?? 0:00.65 dnewslink: news.inktomi.com inktomi.S82594 process 809 (dnewslink)
8 14407 1 65 -6 0 344 232 biowai D ?? 0:03.01 dnewslink: newshub.sdsu.edu sdsu.S53150 process 4401 (dnewslink)
8 14409 1 0 2 0 344 232 sbwait I ?? 0:00.03 dnewslink: dragon.supranet.net supranet.S49655 process 9 (dnewslink)
8 14417 14274 233 2 -5 504 12064 sbwait S< ?? 0:01.04 diablo: ihav=0 chk=4559 rec=12 ent=1 news-fr.value.net (diablo)
8 14423 14274 188 2 -5 496 2552 sbwait I< ?? 0:00.05 diablo: ihav=0 chk=1 rec=1 ent=1 nntp3.ba.best.com (diablo)
8 14429 14274 14 2 -5 496 9700 sbwait S< ?? 0:00.43 diablo: ihav=0 chk=1703 rec=7 ent=0 newsfeed.dacom.co.kr (diablo)
8 14434 14274 20 -5 -5 496 10476 getblk D< ?? 0:00.64 diablo: ihav=1456 chk=0 rec=30 ent=9 cliffs.rs.itd.umich.edu (diab
8 14435 14274 255 2 -5 504 15320 sbwait S< ?? 0:06.24 diablo: ihav=0 chk=4368 rec=42 ent=25 newshub1.home.com (diablo)
8 14436 14274 29 -5 -5 504 16260 getblk D< ?? 0:00.93 diablo: ihav=0 chk=4347 rec=26 ent=14 news.demos.su (diablo)
8 14439 14274 79 2 -5 504 4216 sbwait I< ?? 0:00.69 diablo: ihav=0 chk=244 rec=6 ent=5 news.demos.su (diablo)
8 14440 14274 149 -5 -5 504 7008 getblk D< ?? 0:00.64 diablo: ihav=0 chk=1826 rec=32 ent=17 nntp04.primenet.com (diablo)
8 14442 14274 39 -5 -5 496 4948 getblk D< ?? 0:00.42 diablo: ihav=0 chk=1729 rec=4 ent=3 nntp05.primenet.com (diablo)
8 14444 14274 163 2 -5 496 2344 sbwait I< ?? 0:00.04 diablo: ihav=0 chk=0 rec=0 ent=0 flood.xnet.com (diablo)
8 14445 14274 11 2 -5 504 4544 sbwait S< ?? 0:01.82 diablo: ihav=0 chk=957 rec=21 ent=21 news.exodus.net (diablo)
8 14448 14274 30 -5 -5 496 9952 getblk D< ?? 0:00.61 diablo: ihav=1389 chk=0 rec=25 ent=7 cliffs.rs.itd.umich.edu (diab
8 14449 14274 75 -5 -5 496 10392 getblk D< ?? 0:00.62 diablo: ihav=1321 chk=0 rec=31 ent=11 cliffs.rs.itd.umich.edu (diab
8 14451 14274 14 -5 -5 496 10004 getblk D< ?? 0:00.61 diablo: ihav=1396 chk=0 rec=24 ent=7 cliffs.rs.itd.umich.edu (diab
8 14452 14274 51 2 -5 496 10616 sbwait S< ?? 0:00.59 diablo: ihav=1362 chk=0 rec=24 ent=10 cliffs.rs.itd.umich.edu (diab
8 14453 14274 51 -5 -5 496 10212 getblk D< ?? 0:00.63 diablo: ihav=1326 chk=0 rec=31 ent=9 cliffs.rs.itd.umich.edu (diab
8 14454 14274 91 2 -5 496 2392 sbwait I< ?? 0:00.04 diablo: ihav=0 chk=2 rec=0 ent=0 peerfeed.ncal.verio.net (diab
8 14458 14274 77 -5 -5 496 4976 getblk D< ?? 0:00.20 diablo: ihav=0 chk=374 rec=13 ent=10 nntprelay.mathworks.com (diab
8 14459 14274 96 -5 -5 496 5152 getblk D< ?? 0:00.20 diablo: ihav=0 chk=350 rec=16 ent=13 nntprelay.mathworks.com (diab
8 14460 14274 165 -5 -5 504 14180 getblk D< ?? 0:01.11 diablo: ihav=0 chk=2996 rec=108 ent=47 su-news-hub1.bbnplanet.com (d
8 14461 14274 13 -5 -5 504 3872 getblk D< ?? 0:00.29 diablo: ihav=0 chk=37 rec=24 ent=11 su-news-hub1.bbnplanet.com (d
8 14462 14274 149 55 -5 504 12636 - R< ?? 0:01.00 diablo: ihav=0 chk=2309 rec=116 ent=53 su-news-hub1.bbnplanet.com (d
8 14463 14274 150 -5 -5 504 12332 getblk D< ?? 0:00.97 diablo: ihav=0 chk=2297 rec=105 ent=46 su-news-hub1.bbnplanet.com (d
8 14464 14274 48 2 -5 496 8480 sbwait S< ?? 0:00.33 diablo: ihav=0 chk=1422 rec=2 ent=0 feed2.news.erols.com (diablo)
8 14465 14274 73 2 -5 504 3608 sbwait S< ?? 0:00.32 diablo: ihav=0 chk=39 rec=28 ent=14 su-news-hub1.bbnplanet.com (d
8 14466 14274 255 2 -5 504 9300 sbwait S< ?? 0:03.42 diablo: ihav=0 chk=1457 rec=31 ent=14 newshub1.home.com (diablo)
8 14467 14274 70 -5 -5 496 8560 getblk D< ?? 0:00.33 diablo: ihav=0 chk=1358 rec=3 ent=0 feed2.news.erols.com (diablo)
8 14468 14274 28 2 -5 496 9196 sbwait S< ?? 0:00.38 diablo: ihav=0 chk=1503 rec=7 ent=0 feed2.news.erols.com (diablo)
8 14470 14274 55 2 -5 496 7820 sbwait S< ?? 0:00.28 diablo: ihav=0 chk=1080 rec=1 ent=0 newsfeed.dacom.co.kr (diablo)
8 14471 14274 80 2 -5 496 7936 sbwait S< ?? 0:00.34 diablo: ihav=0 chk=1070 rec=4 ent=0 newsfeed.dacom.co.kr (diablo)
8 14472 14274 255 2 -5 496 8316 sbwait I< ?? 0:01.99 diablo: ihav=0 chk=1277 rec=10 ent=6 newshub1.home.com (diablo)
8 14473 14274 85 2 -5 496 11384 sbwait S< ?? 0:00.46 diablo: ihav=0 chk=1525 rec=23 ent=0 leia.jvnc.net (diablo)
8 14474 14274 147 2 -5 496 11476 sbwait S< ?? 0:00.44 diablo: ihav=0 chk=1486 rec=20 ent=0 leia.jvnc.net (diablo)
8 14475 14274 51 2 -5 496 12616 sbwait S< ?? 0:00.49 diablo: ihav=0 chk=1753 rec=21 ent=0 leia.jvnc.net (diablo)
8 14476 14274 40 2 -5 496 11848 sbwait S< ?? 0:00.45 diablo: ihav=0 chk=1517 rec=22 ent=0 leia.jvnc.net (diablo)
8 14477 14274 34 2 -5 496 9468 sbwait S< ?? 0:00.36 diablo: ihav=0 chk=1572 rec=3 ent=0 news.voicenet.com (diablo)
8 14478 14274 87 2 -5 504 7476 sbwait S< ?? 0:01.92 diablo: ihav=0 chk=1008 rec=12 ent=6 newshub1.home.com (diablo)
8 14479 14274 77 2 -5 496 12656 sbwait S< ?? 0:00.52 diablo: ihav=0 chk=1749 rec=23 ent=0 leia.jvnc.net (diablo)
8 14481 14274 147 2 -5 496 9796 sbwait S< ?? 0:00.36 diablo: ihav=0 chk=1501 rec=2 ent=0 news.voicenet.com (diablo)
8 14493 14274 161 2 -5 496 2400 sbwait I< ?? 0:00.04 diablo: ihav=0 chk=0 rec=0 ent=0 newshub.sirius.com (diablo)
8 14504 14274 146 2 -5 476 2432 sbwait S< ?? 0:00.04 diablo: ihav=0 chk=0 rec=0 ent=0 hpsdlo.sdd.hp.com (diablo)
8 14505 14274 149 -5 -5 496 2936 getblk D< ?? 0:00.04 diablo: news.greatbasin.net (diablo)
0 14506 154 2 10 0 332 320 ppwait D ?? 0:00.00 CRON (cron)
0 14507 154 2 10 0 332 316 ppwait D ?? 0:00.00 CRON (cron)
0 14509 14507 4 -18 0 332 392 swread DVs ?? 0:00.00 CRON (cron)
0 14510 14506 2 -14 0 332 320 ufslk2 DV ?? 0:00.00 CRON (cron)
1001 13797 13794 17 18 0 632 472 pause Is p0 0:00.09 -tcsh (tcsh)
1001 13892 13890 191 18 0 632 808 pause Is p1 0:00.09 -tcsh (tcsh)
0 13903 13892 204 10 0 220 756 wait I p1 0:00.07 ksu
0 13904 13903 73 18 0 1096 916 pause S p1 0:00.51 -bin/tcsh
0 14508 13904 75 45 0 748 384 - R+ p1 0:00.01 ps -axl
0 288 1 1 3 0 180 84 ttyin Is+ v0 0:00.01 /usr/libexec/getty Pc ttyv0
0 289 1 1 3 0 180 84 ttyin Is+ v1 0:00.01 /usr/libexec/getty Pc ttyv1
0 290 1 1 3 0 180 84 ttyin Is+ v2 0:00.01 /usr/libexec/getty Pc ttyv2
0 291 1 0 3 0 184 84 ttyin Is+ d0 0:00.02 /usr/libexec/getty std.9600 ttyd0
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Re: madvise() works (!)
Author: bill davidsen
Date: Mon, 27 Jul 1998 00:00
Date: Mon, 27 Jul 1998 00:00
27 lines
2039 bytes
2039 bytes
In article <6pg4rq$drt$1@flea.best.net>, Matt Dillon <dillon@best.net> wrote: | I've started messing with calling madvise() after mmap(). It | actually works! At least on FreeBSD systems. Please put all the BSDisms under conditional, unless this code is going to be BSD-only. | 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. -- Bill Davidsen (davidsen@tmr.com) CTO, TMR Associates, Inc What do you mean I shouldn't do things like that at my age? At my age if you don't do things like that you might die of natural causes or boredom!
Re: madvise() works (!)
Author: Marc Slemko
Date: Mon, 27 Jul 1998 00:00
Date: Mon, 27 Jul 1998 00:00
20 lines
1616 bytes
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.
Re: madvise() works (!)
Author: Matt Dillon
Date: Tue, 28 Jul 1998 00:00
Date: Tue, 28 Jul 1998 00:00
24 lines
1631 bytes
1631 bytes
:In article <6plaud$eem$1@newssvr09-int.news.prodigy.com>,
:bill davidsen <davidsen@tmr.com> wrote:
:>In article <6pih4l$ett$1@flea.best.net>, Matt Dillon <dillon@best.net> wrote:
:>| Oh, I see... you thought sps meant seeks-per-second :-)
:>| no, it was sectors-per-second.
:>
:>Then what use is sps? Unless you use drives with variable size sectors
:>in various parts of the disk, sps is just going to be transfer rate
:>divided by sector size.
:>
:>Oh well, as long as it doesn't mean seeks I'm happy. As long as seeks
:>stay well under the drive capacity I'm happy.
Hey, i'll bet I can speed the drive's seeking if I shake it *real* *hard*
:-)
-Matt
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Re: madvise() works (!)
Author: bill davidsen
Date: Tue, 28 Jul 1998 00:00
Date: Tue, 28 Jul 1998 00:00
19 lines
1623 bytes
1623 bytes
In article <6pih4l$ett$1@flea.best.net>, Matt Dillon <dillon@best.net> wrote: | Oh, I see... you thought sps meant seeks-per-second :-) | no, it was sectors-per-second. Then what use is sps? Unless you use drives with variable size sectors in various parts of the disk, sps is just going to be transfer rate divided by sector size. Oh well, as long as it doesn't mean seeks I'm happy. As long as seeks stay well under the drive capacity I'm happy. -- Bill Davidsen (davidsen@tmr.com) CTO, TMR Associates, Inc What do you mean I shouldn't do things like that at my age? At my age if you don't do things like that you might die of natural causes or boredom!
Re: madvise() works (!)
Author: Clayton O'Neill
Date: Wed, 29 Jul 1998 00:00
Date: Wed, 29 Jul 1998 00:00
15 lines
1290 bytes
1290 bytes
On 27 Jul 1998 17:59:48 GMT, bill davidsen <davidsen@tmr.com> wrote: |In article <6pg4rq$drt$1@flea.best.net>, Matt Dillon <dillon@best.net> wrote: || I've started messing with calling madvise() after mmap(). It || actually works! At least on FreeBSD systems. | |Please put all the BSDisms under conditional, unless this code is going |to be BSD-only. madvise is a POSIXism. If your vendor doesn't support than bitch and moan and groan. It is a very good thing. -- coneill@rcn.com|blahlblahblah@oneill.net
Re: madvise() works (!)
Author: Matt Dillon
Date: Wed, 29 Jul 1998 00:00
Date: Wed, 29 Jul 1998 00:00
27 lines
1696 bytes
1696 bytes
:In article <slrn6rtbhs.qn.usenet@hmmm.colo.erols.net>,
:Clayton O'Neill <usenet@oneill.net> wrote:
:>On 27 Jul 1998 17:59:48 GMT, bill davidsen <davidsen@tmr.com> wrote:
:>|In article <6pg4rq$drt$1@flea.best.net>, Matt Dillon <dillon@best.net> wrote:
:>|| I've started messing with calling madvise() after mmap(). It
:>|| actually works! At least on FreeBSD systems.
:>|
:>|Please put all the BSDisms under conditional, unless this code is going
:>|to be BSD-only.
:>
:>madvise is a POSIXism. If your vendor doesn't support than bitch and moan
:>and groan. It is a very good thing.
:>
:>--
:>coneill@rcn.com|blahlblahblah@oneill.net
don't worry guys, Diablo is #if'd up the wazoo to support half a dozen
major platforms.
-Matt
--
Matthew Dillon Engineering, HiWay Technologies, Inc. & BEST Internet
Communications
<dillon@best.net> (Please include original email in any response)
Re: madvise() works (!)
Author: Kai Henningsen
Date: Sat, 01 Aug 1998 00:00
Date: Sat, 01 Aug 1998 00:00
16 lines
1287 bytes
1287 bytes
usenet@oneill.net (Clayton O'Neill) wrote on 29.07.98 in <slrn6rtbhs.qn.usenet@hmmm.colo.erols.net>: > madvise is a POSIXism. Which part of POSIX might that be? It sure isn't in Unix98, and that is supposed to have all the "normal" POSIX stuff, plus threads. Kai -- http://www.westfalen.de/private/khms/ "... by God I *KNOW* what this network is for, and you can't have it." - Russ Allbery (rra@stanford.edu)
Re: madvise() works (!)
Author: David Malone
Date: Sat, 01 Aug 1998 00:00
Date: Sat, 01 Aug 1998 00:00
25 lines
1756 bytes
1756 bytes
kaih=6z2ptDRXw-B@khms.westfalen.de (Kai Henningsen) writes: >usenet@oneill.net (Clayton O'Neill) wrote on 29.07.98 in <slrn6rtbhs.qn.usenet@hmmm.colo.erols.net>: >> madvise is a POSIXism. >Which part of POSIX might that be? >It sure isn't in Unix98, and that is supposed to have all the "normal" >POSIX stuff, plus threads. I dunno if it is in POSIX, but it is "included" on FreeBSD (2.2.6), Linux (Redhat 5.1), SunOS (4.1.3), Solaris (2.3), Digital Unix (4.0), AIX (4.1.2) and HPUX (10.10). Some of these platforms only provide stubs which do nothing (AIX and Linux). It may be included in others stuff. Given some of these vendors failure to include stuff unless it is in a standard somewhere, I'd say someone was pushing it as a standard of some sort. (The HPUX man page mentions OSF and some standards which it is included in). David.
Re: madvise() works (!)
Author: Sander Vesik
Date: Fri, 07 Aug 1998 00:00
Date: Fri, 07 Aug 1998 00:00
39 lines
2414 bytes
2414 bytes
David Malone <dwmalone@maths.tcd.ie> wrote: > kaih=6z2ptDRXw-B@khms.westfalen.de (Kai Henningsen) writes: > >usenet@oneill.net (Clayton O'Neill) wrote on 29.07.98 in <slrn6rtbhs.qn.usenet@hmmm.colo.erols.net>: > >> madvise is a POSIXism. > >Which part of POSIX might that be? > >It sure isn't in Unix98, and that is supposed to have all the "normal" > >POSIX stuff, plus threads. > I dunno if it is in POSIX, but it is "included" on FreeBSD (2.2.6), > Linux (Redhat 5.1), SunOS (4.1.3), Solaris (2.3), Digital Unix (4.0), > AIX (4.1.2) and HPUX (10.10). Some of these platforms only provide > stubs which do nothing (AIX and Linux). It may be included in others > stuff. > Given some of these vendors failure to include stuff unless it is in > a standard somewhere, I'd say someone was pushing it as a standard of > some sort. (The HPUX man page mentions OSF and some standards which it > is included in). > David. IIRC mmap & friends (that includes madvise) comes initally from SunOS. As SunOS was BSD at the time, it migrated back and then into other things partially derived from BSD (and then everybody supported it, so everybody else had a reason to support it aswell) or from something derived from a SysV & BSD mix. -- Sander There is no love, no good, no happiness and no future - all these are just illusions.
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