Observation using trn-test76 and INN 2.4.0

Kiernan, Alex alexk at demon.net
Fri Nov 29 18:53:52 UTC 2002


> > And I just checked, and the old overview implementation 
> also reopens the
> > files each time.  Hm.  I wonder if this performance problem would be
> > resolved by just using a cache size of one group for nnrpd 
> rather than
> > turning off the cache.
> 
> Nope, it looks like I already did that and just forgot about 
> it.  Readers
> already use a cache size of 1.  So that's not it.
> 

Is that just new tradindexed or old too (not upgraded yet) - the old code is
pretty dumb - GROUP/XOVER/XOVER does:

open64("/news/spool/overview/a/b/c/i/alt.binaries.cd.image.DAT",
O_RDONLY|O_APPEND) = 28
open64("/news/spool/overview/a/b/c/i/alt.binaries.cd.image.IDX", O_RDONLY) =
29
mmap64(0x00000000, 36469653, PROT_READ, MAP_SHARED, 28, 0) = 0xD2400000
mmap64(0x00000000, 4993960, PROT_READ, MAP_SHARED, 29, 0) = 0xD1C00000
close(29)                                       = 0
close(28)                                       = 0
munmap(0xD1C00000, 4993960)                     = 0
munmap(0xD2400000, 36469653)                    = 0
open64("/news/spool/overview/a/b/c/i/alt.binaries.cd.image.DAT",
O_RDONLY|O_APPEND) = 28
open64("/news/spool/overview/a/b/c/i/alt.binaries.cd.image.IDX", O_RDONLY) =
29
mmap64(0x00000000, 36470732, PROT_READ, MAP_SHARED, 28, 0) = 0xD2400000
mmap64(0x00000000, 4994120, PROT_READ, MAP_SHARED, 29, 0) = 0xD1C00000
close(29)                                       = 0
close(28)                                       = 0
munmap(0xD1C00000, 4994120)                     = 0
munmap(0xD2400000, 36470732)                    = 0
open64("/news/spool/overview/a/b/c/i/alt.binaries.cd.image.DAT",
O_RDONLY|O_APPEND) = 28
open64("/news/spool/overview/a/b/c/i/alt.binaries.cd.image.IDX", O_RDONLY) =
29
mmap64(0x00000000, 36471568, PROT_READ, MAP_SHARED, 28, 0) = 0xD2400000
mmap64(0x00000000, 4994240, PROT_READ, MAP_SHARED, 29, 0) = 0xD1C00000
close(29)                                       = 0
close(28)                                       = 0
munmap(0xD1C00000, 4994240)                     = 0
munmap(0xD2400000, 36471568)                    = 0

-- 
Alex Kiernan, Principal Engineer, Development, THUS plc


More information about the inn-workers mailing list