[
https://issues.apache.org/jira/browse/LUCENE-5951?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14253299#comment-14253299
]
Uwe Schindler edited comment on LUCENE-5951 at 12/19/14 11:35 AM:
------------------------------------------------------------------
I have here another item on the TODO list: I am currently investigating the new
Linux Filesystem BTRFS, which might also bring some cool things for Lucene.
Some Linux distribs now starting to make it as a default file system (like
OpenSUSE, Ubuntu not yet - but soon). -BTRFS is more like ZFS from Slowlaris,
so the mount table is no longer giving you all information (no raw devices
anymore just some symbolic "volume" name), because you have now
"sub-filesystems" that you can mount anywhere. Of course, the current code
cannot handle that, but we might improve.- Correction: this is not a problem,
the device name of the mount is still the raw device. The sub volume is given
as parameter ({{-o subvol=xxx}} to mount/fstab. So the current code should be
able to handle that.
The same applies to "bind" mounts, I prefer in some situations. Bind mounts are
those where you mount part of one file system at another place (like a symlink,
but more "hard").
was (Author: thetaphi):
I have here another item on the TODO list: I am currently investigating the new
Linux Filesystem BTRFS, which might also bring some cool things for Lucene.
Some Linux distribs now starting to make it as a default file system (like
OpenSUSE, Ubuntu not yet - but soon). BTRFS is more like ZFS from Slowlaris, so
the mount table is no longer giving you all information (no raw devices anymore
just some symbolic "volume" name), because you have now "sub-filesystems" that
you can mount anywhere. Of course, the current code cannot handle that, but we
might improve.
The same applies to "bind" mounts, I prefer in some situations. Bind mounts are
those where you mount part of one file system at another place (like a symlink,
but more "hard").
> Detect when index is on SSD and set dynamic defaults
> ----------------------------------------------------
>
> Key: LUCENE-5951
> URL: https://issues.apache.org/jira/browse/LUCENE-5951
> Project: Lucene - Core
> Issue Type: Improvement
> Reporter: Michael McCandless
> Assignee: Michael McCandless
> Attachments: LUCENE-5951.patch, LUCENE-5951.patch, LUCENE-5951.patch,
> LUCENE-5951.patch, LUCENE-5951.patch, LUCENE-5951.patch, LUCENE-5951.patch
>
>
> E.g. ConcurrentMergeScheduler should default maxMergeThreads to 3 if it's on
> SSD and 1 if it's on spinning disks.
> I think the new NIO2 APIs can let us figure out which device we are mounted
> on, and from there maybe we can do os-specific stuff e.g. look at
> /sys/block/dev/queue/rotational to see if it's spinning storage or not ...
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]