[zones-discuss] zone state change agent
IKOAC (I know of a customer) that would like to write an agent that runs in the global zone and detects state changes in the non-global zones on the system. Anyone listening been down this road??? Thanks, /jim ___ zones-discuss mailing list zones-discuss@opensolaris.org
[zones-discuss] Zone Migration with Resource Bindings
Does Zone migration factor in resource allocations? If I have zoneA on sysA, and have configured zone.cpu-shares, or some other resource control, does the migration process, and/or the dry-run feature check for availability of configured resources, or is this simply required due-diligence on the part of the administrator? Do the resource bindings migrate, or do they need to be redone after the migration has completed on the target system? Are there plans to broaden the constraints on migration in terms of the source and destination machines matching uname -m, so I can migrate SPARC-to-SPARC (e.g. sun4u to sun4v) ? Thanks very much, /jim ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] V440/Zones Capacity
The only correct way to do capacity planning is to plot application throughput with system utilization. Maybe you can run 40 Zones each with a webserver, and a database Zone, or maybe 4. Or 1. It's completely workload dependent. The system utilization data, without corresponding throughput and response time values, are useless. I don't mean to sound smug, but a given systems capacity is determined by application-level delivered performance, not by whether mpstat(1) indicates the CPUs have 10% idle or run queue depth. An Oracle database workload alone could choke a SF440. Running webservers handling dynamic content with media, and handling 10k hits per hour is very different than simple static content and 500 hits a week. /jim Dan Price wrote: On Tue 13 Mar 2007 at 04:46PM, Morris Hooten - SLS Business Infrastructure wrote: Based on curent use cases and experienced users of containers how many sparse root zones could be run on a sunfire 440 wit h4x 1.3 ghz cpus and 16gb ram? i currently have 10 sparse zones with all running a webserver and a third running oracle. my average at the moment is: load average: 0.50, 0.41, 0.48 would I be risking it to add three additonal zones running webservers and oracle? thoughts? what should my load averages look like consistently? Load average is not a great metric, although that looks ok. Can you post some output of 'mpstat 5' (let it run for a bit and make sure you get a representative sample). Also, the output of the bottom portion of 'prstat -Z' may be helpful. -dp ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] V440/Zones Capacity
That's cool, and I certainly respect your expertise in this area (among many others when it comes to this stuff). The problem we run into (more often than not) is that these things are rarely linear. There's a knee in the curve lurking behind a dark corner that can trip things up before we're at the load point the utilization plot told us we'd get to. With workload tracking, we can see this coming, and plan accordingly. All that said, in reality it's a lost art (if it ever really existed), and sar(1) remains the defacto standard for capacity planning. DTrace comes to mind as a tool that can be leveraged for tracking things like response time and throughput for workloads that are not instrumented to do so. Would make an interesting exercise to write a DTrace script along the lines of Brendan's DTrace ToolKit that tracks httpd request/response times and hit counts Thanks, /jim Dan Price wrote: On Tue 13 Mar 2007 at 08:44PM, Jim Mauro wrote: The only correct way to do capacity planning is to plot application throughput with system utilization. Maybe you can run 40 Zones each with a webserver, and a database Zone, or maybe 4. Or 1. It's completely workload dependent. Yes, I agree that that would be optimal. Offline, Morris gave me some stats to look at, and it appears that the machine is about 2-5% busy, with about 30-40% of total system memory in use. If the machine is processing its normal workload at that utilization, that's a good starting point (in my mind) for things seem OK. -dp ___ zones-discuss mailing list zones-discuss@opensolaris.org
Re: [zones-discuss] CPU load values in a zone
Remember that FSS is designed to provide a minimum, but not a max. Depending on CPU use by other threads in the class, a given thread may get more than it's alloted CPU shares, but it will never get less. /jim Brian Kolaci wrote: Jeff Victor wrote: Brian Kolaci wrote: I've been discussing about how to chop up a machine. An possible example configuration would have 8 cpus, 3 local zones. They would possibly be divided up as 50%, 25% and 25%. Its clear how to do this with pools, however FSS is a great fit for when a zone may need more CPU than whats available in the pool/psrset. The problem with FSS in this case is that if one zone is mostly idle and all the other zones are busy, the zone that is idle will get a load average much higher than its really using which can skew the calculations use by the sendmail process to determine if the queue/refuse connection thresholds are met. How does FSS make that situation worse? The misleading [1] load avg is not affected by FSS, which is merely enforcing the minimum CPU-power portions that you chose. If they are inappropriate, prctl can be your friend. :-) [1] misleading for this situation, not so for others. I guess what I mean is that with FSS, people get the impression that they are dividing the resources fairly among the zones but the misleading load average tells processes that they're already using all or more than their share already. Agreed, its not really a problem of FSS, but that the load averages reported in a zone do not reflect what it actually is in the zone, but of the processor set it is associated with. ___ zones-discuss mailing list zones-discuss@opensolaris.org ___ zones-discuss mailing list zones-discuss@opensolaris.org