[gold-users] when available credits less than 0, greserver new job succeed?
Wei Lin
weilin at platform.com
Thu Apr 14 00:58:10 MDT 2011
Hi, Scott:
I discovered that
- when available credits less than 0, greserver new job still succed?
- over-charge can succeed
Are them reasonable?
Thanks
Wei Lin
For example:
[weilin at amd64dcore conf]$ /opt/gold/bin/gcharge -u "weilin" -p "lsf_test" -m "amd64dcore" -P 1 -t 2000 -J "101"
Successfully charged job 101 for 2000 credits and created gold job id 523
[weilin at amd64dcore conf]$ gbalance
Id Name Amount Reserved Balance CreditLimit Available
-- --------------------- ------ -------- ------- ----------- ---------
1 lsf_test -2204 0 -2204 2000 -204 <==========available is -204
2 lsf_gold 5325 0 5325 0 5325
3 lsf_amd64dcore_weilin 20000 0 20000 0 20000
4 lsf_p1 87742 0 87742 0 87742
[weilin at amd64dcore conf]$ /opt/gold/bin/greserve -u "weilin" -p "lsf_test" -m "amd64dcore" -P 1 -t 20 -J "102"
Successfully reserved 20 credits for job 102 and created gold job id 524
[weilin at amd64dcore conf]$ gbalance
Id Name Amount Reserved Balance CreditLimit Available
-- --------------------- ------ -------- ------- ----------- ---------
1 lsf_test -2204 20 -2224 2000 -224 <==========reserved 20
2 lsf_gold 5325 0 5325 0 5325
3 lsf_amd64dcore_weilin 20000 0 20000 0 20000
4 lsf_p1 87742 0 87742 0 87742
[weilin at amd64dcore conf]$ /opt/gold/bin/gcharge -u "weilin" -p "lsf_test" -m "amd64dcore" -P 1 -t 2000 -J "103"
Successfully charged job 103 for 2000 credits and created gold job id 527 <========over-charge
[weilin at amd64dcore conf]$ gbalance
Id Name Amount Reserved Balance CreditLimit Available
-- --------------------- ------ -------- --------- ----------- ---------
1 lsf_test -4204 20000040 -20004244 2000 -20002244 <=========over-charge
2 lsf_gold 5325 0 5325 0 5325
3 lsf_amd64dcore_weilin 20000 0 20000 0 20000
4 lsf_p1 87742 0 87742 0 87742
More information about the gold-users
mailing list