🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by Bill Proud Fri, 25 Aug 2000 00:00
Max size of cnfs buffers
#48097
Author: Bill Proud
Date: Fri, 25 Aug 2000 00:00
10 lines
974 bytes
With 2.3 are cnfs buffers still limited to 2GB?

I saw a suggestion that using "-D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64" allows larger buffers is that correct?


Bill Proud


Re: Max size of cnfs buffers
#48092
Author: Felix Kugler
Date: Fri, 25 Aug 2000 00:00
39 lines
2580 bytes
In article <yl8ztly6lv.fsf@windlord.stanford.edu>, Russ Allbery
<rra@stanford.edu> wrote:

> It's very dependent on the operating system and storage method.
> 
> If you compile with large files support (--with-largefiles as an argument
> to configure; the defines that you mention aren't the right ones for all
> platforms) and the system supports large files, then you can have >2GB
> cycbuffs as file system files.  Solaris still doesn't support raw device
> access to more than 2GB.

it does! I have set up a new INN 2.3 transit server on a Solaris 2.8
platform and use four 34G disks with a single big buffer each:

news@tungurahua [~] ll /cycbuff/
total 4
drwxr-xr-x   2 root     other        512 Jul 23 23:58 ./
drwxr-xr-x  23 root     other       1024 Aug 25 09:32 ../
brw-rw-r--   1 news     news      32,126 Aug 25 13:43 c1t0d0s6
brw-rw-r--   1 news     news      32,134 Aug 25 13:43 c1t1d0s6
brw-rw-r--   1 news     news      32,142 Aug 25 13:43 c1t2d0s6
brw-rw-r--   1 news     news      32,150 Aug 25 13:43 c1t3d0s6

news@tungurahua [~] cnfsstat
Class BASE  for groups matching "*"
 Buffer C1T0-06, size:  34.2 GBytes, position:  11.2 GBytes 12.33 cycles
  Newest: 2000-08-25 13:42:30,    0 days,  0:00:03 ago
 Buffer C1T1-06, size:  34.2 GBytes, position:  11.0 GBytes 12.32 cycles
  Newest: 2000-08-25 13:42:30,    0 days,  0:00:03 ago
 Buffer C1T2-06, size:  34.2 GBytes, position:  10.4 GBytes 12.30 cycles
  Newest: 2000-08-25 13:42:30,    0 days,  0:00:03 ago
 Buffer C1T3-06, size:  34.2 GBytes, position:  11.0 GBytes 12.32 cycles
  Newest: 2000-08-25 13:42:30,    0 days,  0:00:03 ago

No magic required, 'configure --with-largefiles' is all you need...

Felix

Re: Max size of cnfs buffers
#48114
Author: BWare
Date: Fri, 25 Aug 2000 00:00
52 lines
2887 bytes
Felix Kugler wrote:
> 
> In article <yl8ztly6lv.fsf@windlord.stanford.edu>, Russ Allbery
> <rra@stanford.edu> wrote:
> 
> > It's very dependent on the operating system and storage method.
> >
> > If you compile with large files support (--with-largefiles as an argument
> > to configure; the defines that you mention aren't the right ones for all
> > platforms) and the system supports large files, then you can have >2GB
> > cycbuffs as file system files.  Solaris still doesn't support raw device
> > access to more than 2GB.
> 
> it does! I have set up a new INN 2.3 transit server on a Solaris 2.8
> platform and use four 34G disks with a single big buffer each:
> 
> news@tungurahua [~] cnfsstat
> Class BASE  for groups matching "*"
>  Buffer C1T0-06, size:  34.2 GBytes, position:  11.2 GBytes 12.33 cycles
>   Newest: 2000-08-25 13:42:30,    0 days,  0:00:03 ago
>  Buffer C1T1-06, size:  34.2 GBytes, position:  11.0 GBytes 12.32 cycles
>   Newest: 2000-08-25 13:42:30,    0 days,  0:00:03 ago
>  Buffer C1T2-06, size:  34.2 GBytes, position:  10.4 GBytes 12.30 cycles
>   Newest: 2000-08-25 13:42:30,    0 days,  0:00:03 ago
>  Buffer C1T3-06, size:  34.2 GBytes, position:  11.0 GBytes 12.32 cycles
>   Newest: 2000-08-25 13:42:30,    0 days,  0:00:03 ago
> 
> No magic required, 'configure --with-largefiles' is all you need...
How about:
Class Binary  for groups matching "alt.bin*"
 Buffer BIN, size:   270 GBytes, position:  54.7 GBytes  0.20 cycles
  Newest: 2000-08-25 13:01:06,    0 days,  0:01:25 ago
 Buffer BIN2, size:   200 GBytes, position:  54.7 GBytes  0.27 cycles
  Newest: 2000-08-25 13:01:06,    0 days,  0:01:25 ago

You need to patch Solaris 2.7 with (at least 7_Recommended) to access
disks larger than (I believe) 290Gb to be able to use the disks (In our
case RAIDs).



---

regardz,
BWare

---
Peterson's Admonition:
	When you think you're going down for the third time --
	just remember that you may have counted wrong.

Re: Max size of cnfs buffers
#48115
Author: Russ Allbery
Date: Fri, 25 Aug 2000 00:00
19 lines
1335 bytes
Bill Proud <bill@a2000.nl> writes:

> With 2.3 are cnfs buffers still limited to 2GB?

> I saw a suggestion that using "-D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64" allows larger buffers is that correct?

It's very dependent on the operating system and storage method.

If you compile with large files support (--with-largefiles as an argument
to configure; the defines that you mention aren't the right ones for all
platforms) and the system supports large files, then you can have >2GB
cycbuffs as file system files.  Solaris still doesn't support raw device
access to more than 2GB.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

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