X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=Documentation%2Fpublic-inbox-init.pod;h=2464504539749f314b4e054b10f1d97e72b8d680;hb=de9648ca847cf032aab6da9cac1217bf9cca9c90;hp=d0c87563be509c96bf15c84093d8a8fd69ec4493;hpb=6a7e3c6f870d0555184b68940eb373fa102d4102;p=public-inbox.git diff --git a/Documentation/public-inbox-init.pod b/Documentation/public-inbox-init.pod index d0c87563..24645045 100644 --- a/Documentation/public-inbox-init.pod +++ b/Documentation/public-inbox-init.pod @@ -39,7 +39,22 @@ See L for more information. Default: C -=item -N, --skip-artnum +=item --ng, --newsgroup NEWSGROUP + +The NNTP group name for use with L. This +may be any newsgroup name with hierarchies delimited by C<.>. +For example, the newsgroup for L +is: C + +This may be set after-the-fact via C +in the configuration file. See L for more +info. + +Available since public-inbox 1.6.0 (PENDING). + +Default: none. + +=item --skip-artnum This option allows archivists to publish incomplete archives with only new mail while allowing NNTP article numbers @@ -71,14 +86,31 @@ Default: unset, no epochs are skipped Control the number of Xapian index shards in a C<-V2> (L) inbox. -It is useful to use a single shard (C<-j1>) for inboxes on +It can be useful to use a single shard (C<-j1>) for inboxes on high-latency storage (e.g. rotational HDD) unless the system has enough RAM to cache 5-10x the size of the git repository. -It is generally not useful to specify higher values than the -default due to contention in the top-level producer process. +Another approach for HDDs is to use the +L option +and many shards, so each shard may fit into the kernel page +cache. Unfortunately, excessive shards slows down read-only +query performance. + +For fast storage, it is generally not useful to specify higher +values than the default due to the top-level producer process +being a bottleneck. -Default: the number of online CPUs, up to 4 +Default: the number of online CPUs, up to 4 (3 shard workers, 1 producer) + +=item --skip-docdata + +Do not store document data in Xapian, reducing Xapian storage +overhead by around 1.5%. + +Warning: this option prevents rollbacks to public-inbox 1.5.0 +and earlier. + +Available since public-inbox 1.6.0 (PENDING). =back @@ -94,10 +126,12 @@ Used to override the default C<~/.public-inbox/config> value. =head1 LIMITATIONS -This tool predates NNTP support in public-inbox and is missing -C and many of the options documented in -L. See L for all the -options which may be applied to a given inbox. +Some of the options documented in L +require editing the config file. Old versions lack the +C<--ng>/C<--newsgroup> parameter + +See L for all the options which may be applied +to a given inbox. =head1 CONTACT