Thanks but then how will MMapDirectory help gain speedup?

i will try tmpfs and see what happens. i was expecting to get on order of magnitude of speedup from already very fast on disk Lucene indexes.

So i was expecting really really really fast response with MMapDirectory.

Thanks


On 2/23/21 3:40 PM, Robert Muir wrote:
Don't give gobs of memory to your java process, you will just make things slower. The kernel will cache your index files.

On Tue, Feb 23, 2021 at 1:45 PM <baris.ka...@oracle.com <mailto:baris.ka...@oracle.com>> wrote:

    Ok, but how is this MMapDirectory used then?

    Best regards


    On 2/23/21 7:03 AM, Robert Muir wrote:
    >
    >
    > On Tue, Feb 23, 2021 at 2:30 AM <baris.ka...@oracle.com
    <mailto:baris.ka...@oracle.com>
    > <mailto:baris.ka...@oracle.com <mailto:baris.ka...@oracle.com>>>
    wrote:
    >
    >     Hi,-
    >
    >       I tried MMapDirectory and i allocated as big as index size
    on my
    >     J2EE
    >     Container but
    >
    >
    > Don't allocate java heap memory for the index, MMapDirectory
    does not
    > use java heap memory!

Reply via email to