🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by Bill Davidsen Wed, 14 Sep 2005 17:13
Change cycbuff to SEQUENTIAL?
#72261
Author: Bill Davidsen
Date: Wed, 14 Sep 2005 17:13
10 lines
1952 bytes
When adding cycbuffs to a storage class in some cases the sizes may not 
match the original cycbuff size. If that were planned the machine would 
have been created using the SEQUENTIAL method. The question is, after 
the machine has been in use for some time, can it be changed to 
SEQUENTIAL after the fact without destroying the existing data?

-- 
bill davidsen
   SBC/Prodigy Yorktown Heights NY data center
   http://newsgroups.news.prodigy.com
Re: Change cycbuff to SEQUENTIAL?
#72263
Author: John F. Morse
Date: Wed, 14 Sep 2005 17:58
21 lines
1656 bytes
Bill Davidsen wrote:

<snip>

Noticed your sig:

bill davidsen
   SBC/Prodigy Yorktown Heights NY data center
   http://newsgroups.news.prodigy.com

Say, Bill, do you by chance know a SBC/Prodigy field employee named 
Kevin Cook? He's not a home or business tech, but works on the network 
in telco buildings.

He works out of the Kansas City, MO area, traveling throughout the Midwest.

I put in 20 years for SBC (SWBT) in the Mission, KS district. Switching 
then Teletype (Systems Tech).

-- 
John
Re: Change cycbuff to SEQUENTIAL?
#72266
Author: Russ Allbery
Date: Thu, 15 Sep 2005 05:06
16 lines
1803 bytes
Bill Davidsen <davidsen@deathstar.prodigy.com> writes:

> When adding cycbuffs to a storage class in some cases the sizes may not
> match the original cycbuff size. If that were planned the machine would
> have been created using the SEQUENTIAL method. The question is, after
> the machine has been in use for some time, can it be changed to
> SEQUENTIAL after the fact without destroying the existing data?

Yup.  SEQUENTIAL only affects rollover behavior in the future.  It doesn't
change anything about the disk formats.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Change cycbuff to SEQUENTIAL?
#72273
Author: Zak
Date: Thu, 15 Sep 2005 18:24
21 lines
1870 bytes
Russ Allbery wrote:
> Bill Davidsen <davidsen@deathstar.prodigy.com> writes:
> 
> 
>>When adding cycbuffs to a storage class in some cases the sizes may not
>>match the original cycbuff size. If that were planned the machine would
>>have been created using the SEQUENTIAL method. The question is, after
>>the machine has been in use for some time, can it be changed to
>>SEQUENTIAL after the fact without destroying the existing data?
> 
> 
> Yup.  SEQUENTIAL only affects rollover behavior in the future.  It doesn't
> change anything about the disk formats.
> 

But it will affect expiration of past articles, I suppose. SEQUENTIAL 
will force INN to use the same cycbuff until that rolls over. That 
cycbuff will expire much faster than before.


Thomas
Re: Change cycbuff to SEQUENTIAL?
#72275
Author: Russ Allbery
Date: Thu, 15 Sep 2005 18:51
23 lines
2211 bytes
Zak <jute@zak.invalid> writes:
> Russ Allbery wrote:

>> Yup.  SEQUENTIAL only affects rollover behavior in the future.  It
>> doesn't change anything about the disk formats.

> But it will affect expiration of past articles, I suppose. SEQUENTIAL 
> will force INN to use the same cycbuff until that rolls over. That 
> cycbuff will expire much faster than before.

I don't understand what you mean.  It will cause INN to keep writing to
the same cycbuff until that cycbuff fills, at which point it will move to
the next one and not return to that cycbuff until all the others have
filled.  SEQUENTIAL vs. the default only changes expiration time if the
cycbuffs aren't all the same size, in which case SEQUENTIAL actually makes
the expiration time the same across all the cycbuffs rather than expiring
the small one faster and the others more slowly.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Change cycbuff to SEQUENTIAL?
#72278
Author: Bill Davidsen
Date: Thu, 15 Sep 2005 19:27
33 lines
2865 bytes
Zak wrote:
> Russ Allbery wrote:
> 
>> Bill Davidsen <davidsen@deathstar.prodigy.com> writes:
>>
>>
>>> When adding cycbuffs to a storage class in some cases the sizes may not
>>> match the original cycbuff size. If that were planned the machine would
>>> have been created using the SEQUENTIAL method. The question is, after
>>> the machine has been in use for some time, can it be changed to
>>> SEQUENTIAL after the fact without destroying the existing data?
>>
>>
>>
>> Yup.  SEQUENTIAL only affects rollover behavior in the future.  It 
>> doesn't
>> change anything about the disk formats.
>>
> 
> But it will affect expiration of past articles, I suppose. SEQUENTIAL 
> will force INN to use the same cycbuff until that rolls over. That 
> cycbuff will expire much faster than before.

Since they're pretty closely matched I can pick where have the pointer, 
so for instance if it was at 80% it would fill the last 20% of each 
cycbuff before rolling (I assume). That would use the end of each before 
  starting to expire a full cycbuff, and the first cycbuff to be filled 
would be the new one(s). So I can sort of pick where I do that.

-- 
bill davidsen
   SBC/Prodigy Yorktown Heights NY data center
   http://newsgroups.news.prodigy.com
Re: Change cycbuff to SEQUENTIAL?
#72279
Author: Bill Davidsen
Date: Thu, 15 Sep 2005 19:41
32 lines
2957 bytes
Russ Allbery wrote:
> Zak <jute@zak.invalid> writes:
> 
>>Russ Allbery wrote:
> 
> 
>>>Yup.  SEQUENTIAL only affects rollover behavior in the future.  It
>>>doesn't change anything about the disk formats.
> 
> 
>>But it will affect expiration of past articles, I suppose. SEQUENTIAL 
>>will force INN to use the same cycbuff until that rolls over. That 
>>cycbuff will expire much faster than before.
> 
> 
> I don't understand what you mean.  It will cause INN to keep writing to
> the same cycbuff until that cycbuff fills, at which point it will move to
> the next one and not return to that cycbuff until all the others have
> filled.  SEQUENTIAL vs. the default only changes expiration time if the
> cycbuffs aren't all the same size, in which case SEQUENTIAL actually makes
> the expiration time the same across all the cycbuffs rather than expiring
> the small one faster and the others more slowly.
> 
I thought of what he means, in any given cycbuff the pointer will move 
faster and expire the old data in that cycbuff in linear time instead of 
linear divided by the number of cycbuffs. So some old articles will 
vanish sooner than they would have in round robin fill.

-- 
bill davidsen
   SBC/Prodigy Yorktown Heights NY data center
   http://newsgroups.news.prodigy.com
Re: Change cycbuff to SEQUENTIAL?
#72283
Author: Russ Allbery
Date: Thu, 15 Sep 2005 19:43
25 lines
2462 bytes
Bill Davidsen <davidsen@deathstar.prodigy.com> writes:
> Russ Allbery wrote:

>> I don't understand what you mean.  It will cause INN to keep writing to
>> the same cycbuff until that cycbuff fills, at which point it will move
>> to the next one and not return to that cycbuff until all the others
>> have filled.  SEQUENTIAL vs. the default only changes expiration time
>> if the cycbuffs aren't all the same size, in which case SEQUENTIAL
>> actually makes the expiration time the same across all the cycbuffs
>> rather than expiring the small one faster and the others more slowly.

> I thought of what he means, in any given cycbuff the pointer will move
> faster and expire the old data in that cycbuff in linear time instead of
> linear divided by the number of cycbuffs. So some old articles will
> vanish sooner than they would have in round robin fill.

Oh, right, once all the cycbuffs fill, then the next cycbuff chosen will
have its articles expire faster than it would have.  Yeah, that makes
sense.

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

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
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