Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 251579

Re: Disk writing JVM arguments

$
0
0

Hi jassi09

 

I'm not sure exactly what you mean when you say: "and want to write-read data through disk". Does that mean using GemFire persistence, does it mean using a write-behind cache listener or a cache loader? Could you elaborate?

 

Unfortunately there aren't any JVM args geared to disk IO in general. For optimal performance of your application you really want to avoid going to disk as much as you can. If you have to read/write from disk, here are some general guidlines - you're probably aware of these already, but just for completness...

 

  • Access your disk with large IO requests (multi KB, even multi MB)
  • Access your disk linearly to avoid seeks - this is why GemFire uses an append-mode log when writing it's persistent data, so that head seeks are minimised
  • If your application allows it, write to disk asynchronously
  • Optimize your disk at a system level for the highest throughput - use RAID or SSD.

 

--Jens


Viewing all articles
Browse latest Browse all 251579

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>