🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #30360

Re: INN-2.1/Solaris 2.6 and large cycbuffs

#30360
From: Lupe Christoph
Date: Sat, 08 Aug 1998 00:00
42 lines
2440 bytes
kugler@switch.ch (Felix Kugler) writes:

>indeed I didn't do anything special while running configure/compiling. 
>Following your suggestion I rtfm and added two compiler flags:

>GCFLAGS = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 <whatever was here>

>Surprisingly it did the job, my server is up and running since 12 hours now 
>with a 4GB cycbuff on a raw device and I see no indications of (new)
>problems.

Glad to hear that.

>However, I'm afraid that this small modification might be a
>little bit too
>naive. Anyway I'd love to see a bit more help regarding largefile support 
>both in the INSTALL notes and the cycbuff.conf man page.

AFAIK, the compiler flags just change the size of arguments to functions
or systemcalls like lseek. If INN 2.1 is clean in that it uses abstract
types for things like offsets, and it probably *has* to do that to
be able to run on Alpha, you out free.

If you want to check yourself, read interface64(5) and check if
INN 2.1 is consistent with what the manpage describes.

But I have to agree that I, too, would be hesitant to put this
think into production right away. Having it running for a month
with some people beta-testing it would probably a Good Idea(tm).

>BTW does anybody have ideas about performance penalties associated with 
>this largefile stuff ?

AFAIK, just the penalty of moving around 64 bit quantities instead
of 32 bit ones. Should be minor, even more so with 2.7, I'd presume.
-- 
| lupe@alanya.m.isar.de     (private) | lupe@octogon.de  (business)      |
| "In short, just as the Multics mentality of careful access controls    |
| shows up throughout Unix, the cretinous CP/M mentality of uncontrolled |
| havoc shows up in DOS and all its mutant children."   Tom Christiansen |

Technical Details
Message-ID: <6qhvaq$33m$1@alanya.m.isar.de>
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
References: <kugler-ya02408000R0508981444070001@bromo.switch.ch> <6qc5da$3kn$1@alanya.m.isar.de> <kugler-ya02408000R0708982342410001@news.switch.ch>

Show Full Headers
Complete Article Headers
Message-ID: <6qhvaq$33m$1@alanya.m.isar.de>
Subject: Re: INN-2.1/Solaris 2.6 and large cycbuffs
Date: Sat, 08 Aug 1998 00:00:00 +0000
From: lupe@alanya.m.isar.de (Lupe Christoph)
References: <kugler-ya02408000R0508981444070001@bromo.switch.ch> <6qc5da$3kn$1@alanya.m.isar.de> <kugler-ya02408000R0708982342410001@news.switch.ch>
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: 379193868
Organization: Guru, Inc.
Newsgroups: news.software.nntp