Commit Graph

27 Commits

Author SHA1 Message Date
jbjohnso
3ef7062195 -Speed up large noderange expansion
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4685 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-28 13:06:40 +00:00
jbjohnso
24a4d7b1d6 -More efficiently organize the noderange cache of nodes to speed up large noderange lookups
-Only require one iteration to build group->member hash.  This speeds up:
    -nodeadd when a lot of nodes already exist
    -any noderange with a lot of 'atoms' that aren't nodes


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4377 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-13 20:47:55 +00:00
jbjohnso
80f27be71b -Improve caching algorithms to fix performance regressions on large noderanges incurred by DB worker
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4372 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-13 16:52:16 +00:00
jbjohnso
8fe6b85410 -Fix for bug 2873054
-Request to noderange to stop actively preserving cache now also has noderange to actively drop any current cache


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4341 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-10-10 14:50:06 +00:00
ligc
66c9273207 fix for bug 2866597
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4257 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-29 09:49:54 +00:00
jbjohnso
1570da4d20 -Workaround the known place where 2.3 can leak memory, put notes in on how
to produce the memleak for future fix instead of workaround


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4112 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-09-09 20:08:51 +00:00
jbjohnso
95c0a1000d -Fix sf bug 2845378, stale cache data being returned in noderange expansions
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4057 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-27 19:57:41 +00:00
jbjohnso
f688e3f09f -Fix BUG on empty criteria searches
-Accept '=' as a delimeter for convenience (NodeRange will never support assignment of table values, it makes no sense)


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3981 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-10 21:09:00 +00:00
jbjohnso
82dc8fa9ca -Implement noderange table lookup atoms
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3980 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-10 21:01:08 +00:00
jbjohnso
b7986e057c -Document some TODOs to improve noderange resolution performance and add a feature
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3973 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-09 16:14:56 +00:00
jbjohnso
f8702e980d -Fix noderange to correctly enable cache for table for db worker and non-db worker modes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3972 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-08-09 16:02:28 +00:00
lissav
6bcd2f46c9 fix defect 2823133 noderange expansion incorrect, for example node19+2
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3828 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-19 13:27:33 +00:00
ligc
9ddf4569e3 fix for bug 2821739: check the whether the grptab is null before using it.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3799 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-15 18:20:16 +00:00
lissav
06ec99b808 comment out print Dumper although it shows up in XCATBYPASS mode and since the 390 group always run in bypass mode they will see it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3721 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-07-07 16:17:45 +00:00
lissav
9496d87cc1 fix syntax error line 93 used wrong pointer to open table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3624 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-23 15:16:31 +00:00
cridye
87fbe622ce allow empty groups in node ranges, provided they are defined in nodegroup table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3615 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-06-22 23:31:53 +00:00
jbjohnso
312c810085 -Succeed when no nodegroup table exists
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3459 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-29 19:21:29 +00:00
ligc
c9f45e190d dynamic node group support: Noderange.pm->expandatom, DBobjectdefs.pm->defmk and defch, DBobjUtils.pm->getGroupMembers
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3389 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-05-15 02:29:28 +00:00
jbjohnso
863888a7ab -Skip abbreviating single nodes to one-sized groups
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3254 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-24 12:45:06 +00:00
jbjohnso
2d53a1e841 -Prefer rightmost number when using the + operator
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3248 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-23 14:53:56 +00:00
jbjohnso
be121bafb2 -Add xcoll abbreviation support by popular demand
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3194 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-14 18:27:43 +00:00
jbjohnso
e8f67622e6 Tweak extnoderange function to be consistent with other commands, export it as client callable method
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2238 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-26 22:57:55 +00:00
jbjohnso
8d9567ff2b -Add an extended noderange, implementing subgroup mechanism
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2237 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-09-26 22:29:02 +00:00
jbjohnso
cde3cf828e -Change noderange to make , lower precedence operator than @
-Have xCAT metapackage ensure the expected permissions on ssh public key on the postscripts section.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1884 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-17 13:44:56 +00:00
jbjohnso
99828e0309 -Fix problem where file inclusion or parenthetical noderanges could induce a failure
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1876 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-14 14:24:05 +00:00
jbjohnso
ce8ee250d1 -Speed up noderange expansion
-Have Table calls that utilize noderange extend noderange's optimizations lifetime
-Rework conserver to use the at-scale Table access methods, overall about 3 times faster so far


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1847 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-07-07 22:47:38 +00:00
jbjohnso
77d55609c0 -Move perl-xCAT to not have version in trunk name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1562 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-06-03 15:00:37 +00:00