can anyone validate this?
Doug Hunley
doug.hunley at gmail.com
Wed Aug 22 11:46:22 PDT 2012
We've got an application here at work that writes heavily to /data,
which is a fiber san. One of the writes is to /data/indexes which has
become *very* access -time-sensitive in regards to the application
performance. A fancy (and expensive) consultant suggested we create a
tmpfs mounted at /indexes and point the app there since writing to
memory is always faster than writing to disk. I then asked how we
handle getting those indexes written down to disk in the background
periodically, and he said to use symlinks! In his thinking, doing
this:
/indexes/data.idx -> /data/indexes/data.idx
will give us 'memory speeds' for the write as far as the app is
concerned and then 'the kernel will background flush to the san'. I
think he's full of shit, but I wanted to ask the gurus here before
starting a fight :)
--
Douglas J Hunley (doug.hunley at gmail.com)
Twitter: @hunleyd Web:
douglasjhunley.com
G+: http://goo.gl/sajR3
More information about the Linux-users
mailing list