Just quickly:
> I got a few questions;
> 
> 1.) Is the 'priocntl' utility used instead of the
> 'nice' utility, or is it just another priority tool?
>       I got the feeling it's the same as 'nice'....
Already well answered by others.

> 2.) Is Dynamic System Domains the same as zones? The
> description of it feels like it's       _almost_ the
> same, but more hardware oriented division. (Link for
> DSD information?)

You'll find DSD documented somewhere under http://docs.sun.com/
try searching for Dynamic System Domains. They are hardware-specific,
if you don't have ~SF4000-E25K you won't have the facility.
Sorry, no time to expand on this just now.

> 3.) What's the actual difference between changing
> user priority and global priority? What happends if I
> change both to maximum (say RT). Is the user priority
> less worth the global? If I as root change the user
> priority, is there any point in changing the global
> priority of the process/project?

Unless the process is specifically designed for realtime operation
pick something else besides RT -- perhaps FX at high priority
(keep process priority less than kernel).

> 4.) If I set a process/project to have a certain
> limit of memory allocation, could this have positive
> effects on applications with memory leaks? If the
> memory leaks cannot pass say 50Mb of memory, can
> these 50Mb be allocated with non-usable memory
> (memory leaks) so the actual memory usage gets even
> worse for the application?
> And if I have have 4Gb of memory, and I set a limit
> of 3.5Gb to one application that at a certain point
> only use 2Gb of the memory and another application
> uses 2Gb. Then suddenly the first application (the
> one with 3.5Gb limit) uses its full limit (3.5Gb),
> what happends with the memory that the second
> application had allocated (1.5Gb)? Does this memory
> get swapped to the HDD and the second application
> only get access to the 500Mb memory thats left?

The 3.5 GB limit should stop application 1 from consuming
all available memory, thus limiting how much it can steal
from application 2. Mind you, on a 4 GB system 3.5 GB
is not much of a "limit", it could still use most of it!

The two will still compete, least-recently-used pages
will get paged out. If app 2 is more active (in terms of
touching lots of pages quickly) it could end up paging out
half of app 1, given app 2 has no limit imposed -- however
if it never uses more than 2 GB this might not matter...it depends!

> I hope you understand my questions even if they got a
> bit sloppy :)
> 
> Best Regards,
> Nergal

Hope this helps, rgds, Stuart.
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to