On 12/22/2014 2:10 PM, Nishanth S wrote:
> I have 5 drives in my machine which are mounted to  5 different
> locations(/d/1 ,/d/2,/d/3).How can I point solr to write to all these
> directories?.

Erick has asked a relevant question.  I assume that you're trying to
take advantage of the extra I/O bandwidth offered by additional
spindles, but it would be good for you to clarify why you're trying to
do this.

The way that I would do it if it were me is by letting SolrCloud create
the instance directories with a "data" directory in them, then shut down
Solr, move the data directories to alternate locations, and create a
symlink to link each "data" directory to the other location.  You have
indicated paths with forward slashes, so I'm assuming you're on a *NIX
platform that has symlinks.

Something to remember about Solr: If Solr is actually reading off the
disk, performance is going to be far less than optimal, even if
different indexes live on different spindles.  The way to make Solr fast
is to install a LOT of memory, so that the operating system can load the
index into RAM and run without hitting the disk very often at all.  If
you've got an ideal setup, the number and speed of your disks will have
very little impact on performance, except at reboot time.

http://wiki.apache.org/solr/SolrPerformanceProblems#OS_Disk_Cache

Thanks,
Shawn

Reply via email to