Usage of the pkg API would definitely improve performance, however it's an interface that is somewhat unstable, I know the packagemanager UI guys have to constantly rework stuff because of interface breakage.
On 03/ 9/10 04:03 PM, Evan Layton wrote: > On 3/9/10 4:15 AM, Jan Damborsky wrote: >> Hi Evan, >> >> are those problems specific to AI configuration >> (e.g. network configuration, memory consumption) ? > > The problems specific to 13066 appear to be mostly network related > which is not necessarily an AI issue. However what I'm really asking > for here is if we think there may be things in addition to the network > problems described in bug that may also be contributing to the overall > performance problems. One example might be things like grouping some > of the package installs together to reduce the number of pkg install > commands. Also things like looking into using the pkg api directly to > help speed things up. I don't know if any of these ideas even > reasonable or make any sense but I wanted to at least get some > discussions going on these types of things. > >> >> In order to recognize if it is AI specific, I might recommend >> to try the installation transfer phase invoked within installed >> OpenSolaris system on affected machines - e.g. >> >> # ptime /usr/bin/pkg image-create -f -F -p opensolaris.org=<ips_repo> >> <http://192.1.4.1:8009> /test_root >> # ptime /usr/bin/pkg -R /test_root install entire <mailto:entire at 0.5.11> >> # ptime /usr/bin/pkg -R /test_root install SUNWcsd >> <mailto:SUNWcsd at 0.5.11> >> # ptime /usr/bin/pkg -R /test_root install SUNWcs <mailto:SUNWcs at 0.5.11> >> # ptime /usr/bin/pkg -R /test_root install babel_install >> <mailto:babel_install at 0.1> >> >> And try 'one client' and 'many clients' cases. > > I think some of this has been tried and found that the problems are > mostly around the package ordering as described in bug 13321. As for bug > 13066 this looks like a network issue and not really something specific > to AI or pkg(5) for that matter. > > Thanks! > -evan > >> >> Jan > >> >> >> On 03/ 9/10 01:02 AM, Evan Layton wrote: >>> Mary has been helping to gather information from some other groups >>> and it appears that no one else is really seeing this behavior so far. >>> Which points again at a network problem their network. Others have >>> been doing many more than 4 or 5 install clients (some as many as 10 >>> to 18) without hitting this. >>> >>> However what is being seen in other groups is installs taking 3 hours >>> or more. This seems to be something that both our team and the pkg >>> team should be looking at to see if there is something that can be >>> done to help mitigate this issue (bugs 13267 and 13321). >>> >>> -evan >>> >>> On 3/8/10 10:02 AM, Evan Layton wrote: >>>> I really need to get some input from folks on this to see if there's >>>> something we need to be looking at here. >>>> >>>> Looking at the bug there does appear to be a networking issue that >>>> the test team it running up against. >>>> >>>> It also would seem that the problem with their network is probably the >>>> underlying cause of the issue. Due to that I don't know that we're >>>> going >>>> to get very far with working this issue until they have resolved the >>>> network problems they have. That being said we do need to look at >>>> characterizing this issue to see if there is something in addition to >>>> bugs 13267 and 13321 that may be causing performance problems and >>>> contributing to failed installs. >>>> >>>> Also just in case I'm missing something I'd like to get input from >>>> folks here before including the pkg-discuss alias to get their take >>>> on things. >>>> >>>> >>>> Thanks! >>>> -evan >>>> >>>> >>>> On 3/5/10 8:33 AM, Evan Layton wrote: >>>>> Is there a possibility that AI is doing something wrong in the way >>>>> we are calling pkg(5) that could be contributing to this problem? >>>>> This appears to have at least some similarities to bugs 13267 and >>>>> 13321 so I'm wondering if these types of issues could be contributing >>>>> to this bug. >>>>> >>>>> Anyone have any thoughts on this? >>>>> >>>>> Thanks! >>>>> -evan >>>>> >>>>> -------- Original Message -------- >>>>> Subject: [Bug 13066] osol AI installs failing with error: 'pkg >>>>> missing' >>>>> when installing 4 or more clients at the same time >>>>> Date: Fri, 05 Mar 2010 13:40:35 +0000 (GMT) >>>>> From: bugzilla at defect.opensolaris.org >>>>> >>>>> http://defect.opensolaris.org/bz/show_bug.cgi?id=13066 >>>>> >>>>> >>>>> Sean McGrath <sean.mcgrath at sun.com> changed: >>>>> >>>>> What |Removed |Added >>>>> ---------------------------------------------------------------------------- >>>>> >>>>> >>>>> >>>>> >>>>> Summary|osol b128 AI installs |osol AI installs failing >>>>> |failing with error: 'pkg |with error: 'pkg missing' >>>>> |missing' |when installing 4 or more >>>>> | |clients at the same time >>>>> >>>>> >>>> >>> >>> _______________________________________________ >>> caiman-discuss mailing list >>> caiman-discuss at opensolaris.org >>> http://mail.opensolaris.org/mailman/listinfo/caiman-discuss >> > > _______________________________________________ > caiman-discuss mailing list > caiman-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/caiman-discuss