Thread View: news.software.nntp
7 messages
7 total messages
Started by Tom
Fri, 29 Aug 1997 00:00
64bit history patch for 1.5.1?
Author: Tom
Date: Fri, 29 Aug 1997 00:00
Date: Fri, 29 Aug 1997 00:00
10 lines
645 bytes
645 bytes
I'm having trouble finding a 64bit history patch that will apply to INN 1.5.1. I've looked at Joe Greco's patch on www.nntp.sol.net, but it is for 1.4. Tom
Re: 64bit history patch for 1.5.1?
Author: Jeremy
Date: Fri, 29 Aug 1997 00:00
Date: Fri, 29 Aug 1997 00:00
20 lines
1205 bytes
1205 bytes
Tom <tom@uniserve.com> wrote: > I'm having trouble finding a 64bit history patch that will >apply to INN 1.5.1. I've looked at Joe Greco's patch on >www.nntp.sol.net, but it is for 1.4. Take it and hack it in by hand. :) That's what I did with the innd-timer patch, and I even sent him back a 1.5.1 patch, which he'll probably post there whenever he gets the chance. You'll have the satisfaction of having accomplished something, and if you send a 1.5.1 patch back, you'll even be making a contribution to the INN community... -- Jeremy | jeremy@exit109.com Fight spam! http://spam.abuse.net
Re: 64bit history patch for 1.5.1?
Author: Evan Champion
Date: Fri, 05 Sep 1997 00:00
Date: Fri, 05 Sep 1997 00:00
15 lines
1087 bytes
1087 bytes
Joe Greco wrote: > There are two, maybe three INN "long" references that need to be > changed, all of which are clear from the patch. > > The real problem is dbz.c itself. You can safely use a patched > 1.4u4 dbz.c in 1.5.1. "That's a hint." :-) I think the best solution is to use Clayton's dbz code from <ftp://ftp.news.erols.com/pub/news/>. Works great, real fast, and it's very easy to install. Evan
Re: 64bit history patch for 1.5.1?
Author: Joe Greco
Date: Fri, 05 Sep 1997 00:00
Date: Fri, 05 Sep 1997 00:00
16 lines
1234 bytes
1234 bytes
In news.software.nntp article <872886762.434483@corp.uniserve.com>, tom@uniserve.com (Tom) wrote: : The 64bit history changes are extensive. There are a lot :of changes of "long" to "long long" over the place. The code :has changed in places. If you aren't consist everywhere, you :will end of with very broken code. There are two, maybe three INN "long" references that need to be changed, all of which are clear from the patch. The real problem is dbz.c itself. You can safely use a patched 1.4u4 dbz.c in 1.5.1. "That's a hint." :-) ... JG
Re: 64bit history patch for 1.5.1?
Author: Evan Champion
Date: Tue, 09 Sep 1997 00:00
Date: Tue, 09 Sep 1997 00:00
22 lines
1466 bytes
1466 bytes
Mike Horwath wrote: > : I think the best solution is to use Clayton's dbz code from > : <ftp://ftp.news.erols.com/pub/news/>. Works great, real fast, and it's > : very easy to install. > > I agree, but it isn't for everyone :) No, but I think that if one is thinking about using Joe's 64 bit history patches, one is certainly a candidate for Clayton's dbz code. In fact, because Clayton's code should have a lower memory footprint, doesn't require long long, and is really easy to install, I can't really think of a situation where I would choose Joe's dbz over Clayton's, unless one felt that Clayton's code is "too adventurous" :-) As an interesting note, the latest CNFS snap uses Clayton's dbz by default. Evan
Re: 64bit history patch for 1.5.1?
Author: coneill
Date: Fri, 12 Sep 1997 00:00
Date: Fri, 12 Sep 1997 00:00
31 lines
2028 bytes
2028 bytes
drechsau@yuck.net (Mike Horwath) writes: > Evan Champion <evanc@synapse.net> wrote: > : In fact, because Clayton's code should have a lower memory footprint, > : doesn't require long long, and is really easy to install, I can't really > : think of a situation where I would choose Joe's dbz over Clayton's, > : unless one felt that Clayton's code is "too adventurous" :-) > > Lower memory footprint? > > From the readme: > > - Storing the hash in the .pag file increases the size of it by 150%. > mmap()'ing this may no longer be practical for many people. However, > I've found this code to be faster than the old code even if you don't > mmap the .pag file. I encourage people to try this, since it'll save > you 30, 50, or 100mb of ram if you don't have to mmap it. Of course > if you've got 2gb of ram in your feed box then, by all means, mmap the > .pag file. > > How is it smaller if it grows by 2.5x? Joe's code increases the footprint by 100%. My next version of my dbz code will decrease the footprint to 6-8 bytes, making it the same, or less than Joe's code. Also, you'll probably get better performance out of my code than Joe's even if you don't mmap the .pag file.
Re: 64bit history patch for 1.5.1?
Author: Joe Greco
Date: Fri, 12 Sep 1997 00:00
Date: Fri, 12 Sep 1997 00:00
26 lines
1837 bytes
1837 bytes
In news.software.nntp article <86k9gmtxny.fsf@blah.erols.com>, coneill@blah.erols.com wrote: :Joe's code increases the footprint by 100%. My next version of my dbz :code will decrease the footprint to 6-8 bytes, making it the same, or :less than Joe's code. Also, you'll probably get better performance :out of my code than Joe's even if you don't mmap the .pag file. Just to keep things honest, it's not _my_ code. I merely tweaked the existing code to work with 64 bits. I doubt I _wrote_ more than a dozen lines of real code to do it. I'm not going to argue for or against your code since I haven't had a need to evaluate it, and therefore haven't seen it. I was (/am) working on my own substantially different history subsystem because the whole DBZ thing does have some drawbacks. However, I keep getting sidetracked. I would strongly encourage any prospective users to consider both Clayton's stuff and my 64-bit mods. The only thing I can say in defense of the 64-bit mods is that the changes are not substantial, and therefore things operate similarly to the traditional DBZ implementation. :-) ... JG
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