From: Charles Gagnon (charlesg@unixrealm.com)
Date: Mon Dec 13 2004 - 11:28:05 EST
Sorry, I forgot:
SunOS 5.9 Generic_112233-11 sun4u sparc SUNW,Sun-Fire-V240
On Mon, Dec 13, 2004 at 11:27:15AM -0500, Charles Gagnon wrote:
> I have a homegrown Java app that needs access to a large amount of
> data as fast as possible.
>
> We tried storing everything to disk but we end-up building an IO
> queue and after a while, the system was spending 50% of its time in
> IO wait.
>
> We decided going to memory would be faster. But the data we store
> (in multiple little files) is larger then the memory portion
> available to tmpfs (I currenlty have 4GB ram, 8GB swap but I could
> add more and I need to store abotu 10GB of data) so I end up with:
>
> WARNING: tmp_memalloc: tmpfs over memory limit
>
> And my app bugs out.
>
> I could change tmpfs:tmpfs_maxkmem in /etc/system but would I end
> filling up the physical memory completly which would slow down the
> system badly, no?
>
> The data:
>
> RAM 4GB
> SWAP 8GB (but I could add as much as 73GB)
> DATA ~ 8-10GB
>
> What I would like to do is have say 25% of the physical memory
> allocated to tmpfs BUT let tmpfs overflow into disk swap without
> warning me. I can add as much swap as I want on there as I have the
> drive capacity.
>
> How would that be configured?
>
> --
> Charles Gagnon | My views are my views and they
> http://unixrealm.com | do not represent those of anybody
> charlesg at unixrealm.com | but me.
>
> The concept of bedtime is entirely in contradiction to the
> practice of modern-day computing. One of them has got to go!
-- Charles Gagnon | My views are my views and they http://unixrealm.com | do not represent those of anybody charlesg at unixrealm.com | but me. Click here if you're not using a mouse. -- from a Microsoft installation prompt _______________________________________________ sunmanagers mailing list sunmanagers@sunmanagers.org http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:29:51 EDT