You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Ben West (JIRA)" <ji...@apache.org> on 2011/06/14 19:31:47 UTC

[Lucene.Net] [jira] [Commented] (LUCENENET-425) MMapDirectory implementation

    [ https://issues.apache.org/jira/browse/LUCENENET-425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13049299#comment-13049299 ] 

Ben West commented on LUCENENET-425:
------------------------------------

The entire "Store" set of tests (including TestWindowsMMap) passes on Windows 7 64 bit with your patch. Let me know if there are other tests you'd like me to run. I'm not familiar with what mmap directories do, so I probably won't be able to write a perf test myself.

> MMapDirectory implementation
> ----------------------------
>
>                 Key: LUCENENET-425
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-425
>             Project: Lucene.Net
>          Issue Type: New Feature
>    Affects Versions: Lucene.Net 2.9.4g
>            Reporter: Digy
>            Priority: Trivial
>             Fix For: Lucene.Net 2.9.4g
>
>         Attachments: MMapDirectory.patch
>
>
> Since this is not a direct port of MMapDirectory.java, I'll put it under "Support" and implement MMapDirectory as 
> {code}
> public class MMapDirectory:Lucene.Net.Support.MemoryMappedDirectory
> {
> }
> {code}
> If a Mem-Map can not be created(for ex, if the file is too big to fit in 32 bit address range), it will default to FSDirectory.FSIndexInput
> In my tests, I didn't see any performance gain in 32bit environment and I consider it as better then nothing. 
> I would be happy if someone could send test results on 64bit platform.
> DIGY

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira