jeme commented on issue #933: URL: https://github.com/apache/lucenenet/issues/933#issuecomment-2016570441
> its not related to the index / code. all performance degradation by the filestream. > > just to validate this, i changed the FSDirectory file stream with flags, and the problem gone. > > ```cs > file = new FileStream( > path: Path.Combine(parent.m_directory.FullName, name), > mode: FileMode.OpenOrCreate, > access: FileAccess.Write, > share: FileShare.ReadWrite, > bufferSize: CHUNK_SIZE, > FileOptions.Asynchronous | FileOptions.RandomAccess | FileOptions.WriteThrough); > ``` > > any chance to let Microsoft to know about it? [here](https://github.com/dotnet/runtime/issues/new?assignees=&labels=tenet-performance&projects=&template=03_performance_issue.md&title=) Ohh mo***** - now I have to run the tests again with different variations on those FileOptions :D... Thanks though! ;)... -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
