0
We found a bottleneck in our server (hosted on HDD) related to the /dev/random
function. We want to have the OS use the /dev/random
that is on our SSD drive rather than the HDD.
How can we have the server use /dev/random
on another drive than the OS? would this be a Symbolic links or Hard links?
Any advice on how to accomplish this (use random from a different mounted server) would be appreciated.
Thanks!
edit Thanks to Scott for your patience :]
SOLR and OS runs on HDD. We have a SOLR index on an SSD volume. When we index files through java, that's running on the HDD and causing a lot of disc writes, so we want to move it over to the SSD (dictated not read).
"We found that a java process is using lots of CPU on our HDD due to the random generator." this sentence does not make sense. You said the equivalent of "We found our car is using a lot of MPH in our gas tank while going on the highway". Please explain what you are measuring and how you measured it. – Scott Chamberlain – 2013-09-15T22:04:45.433
To address your last update: I don't see how running a file index has anything to do with
/dev/random
, please explain how you go from SOLR doing a file index causes lots of reads and writes on the drive to/dev/random
is not generating bytes fast enough. – Scott Chamberlain – 2013-09-15T22:14:14.980I agree scott. we don't really know what the problem is to ask the question correctly :/ I'll try to get more info and post a new question. thanks for your time – d-_-b – 2013-09-15T22:18:11.260
We're sending you to the parts counter to pick up a gallon of propwash, 300 feet of flight line and a set of piston return springs. Oh, and please move /dev/null to another hard drive when you get back. It's a snipe hunt. <grin> – Fiasco Labs – 2013-09-16T00:18:45.780
This doesn't appear to have anything to do with
/dev/random
. I suggest starting over with your question from the beginning, explaining the actual problem you are facing and any work you have already done toward solving it. – Michael Hampton – 2013-09-16T00:32:54.613