ts-debian-install: increase time allowed for xen-create-image
PATCH 1/1 ts-debian-install: increase time allowed for xen-create-image
This step is consistently timing out when run on cubietruck-*. Judging from the logs it appears to be completing during the 30s slack added by tcmdex (i.e. after the timeout message the rest of the output appears in the test step log).
Looking at the results on arndale-* (which looks to pass reasonably reliably) I see that the regular test-armhf-armhf-xl job takes around 550s to do the xen-create-image while test-armhf-armhf-xl-rtds typically takes around 1100s (twice as long).
On cubietruck-braque test-armhf-armhf-xl uses 900s. One could therefore extrapolate that test-armhf-armhf-xl-rtds might need more than 1800s and not be too surprised that it appears to need something a bit more than 2000s in practice. 2500s seems like sufficient headroom.
For comparisson with arm on x86 godello takes around 210s in the normal case and 680s with RTDS (>3x slower) while nocera takes 265s and 640s (2.4x). (Those are from nearby but not identical flights in order to match up the host).
---
Cc: Dario Faggioli <[email protected]>
Cc: Meng Xu <[email protected]>
Dario, Meng, I suppose a 2-3x slow down with RTDS on a dom0 operation (with no domains running) such as xen-create-image is not unexpected?
--- ts-debian-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
ts-debian-install +1 -1
@@ -95,7 +95,7 @@ END $initrd_opt \\ $archarg END - target_cmd_root($ho, $cmd, 2000); + target_cmd_root($ho, $cmd, 2500); my $cfg= "/etc/xen/$gho->{Name}.cfg"; store_runvar("$gho->{Guest}_cfgpath", $cfg);
Signature · 1 line
2.6.1
Quoted 17 lines · Ian Campbell
This step is consistently timing out when run on cubietruck-*. Judging
from the logs it appears to be completing during the 30s slack added by tcmdex (i.e. after the timeout message the rest of the output appears in the test step log).Looking at the results on arndale-* (which looks to pass reasonably reliably) I see that the regular test-armhf-armhf-xl job takes around 550s to do the xen-create-image while test-armhf-armhf-xl-rtds typically takes around 1100s (twice as long).
On cubietruck-braque test-armhf-armhf-xl uses 900s. One could therefore extrapolate that test-armhf-armhf-xl-rtds might need more than 1800s and not be too surprised that it appears to need something a bit more than 2000s in practice. 2500s seems like sufficient headroom.
Quoted 7 lines
For comparisson with arm on x86 godello takes around 210s in the normal case and 680s with RTDS (>3x slower) while nocera takes 265s and 640s (2.4x). (Those are from nearby but not identical flights in order to match up the host).
Signed-off-by Ian Campbell <[email protected]>
Quoted 4 lines
---
Dario, Meng, I suppose a 2-3x slow down with RTDS on a dom0 operation (with no domains running) such as xen-create-image is not unexpected?
Yes, as of now, I think it is. RTDS' default scheduling parameters throttle domains' vcpus to max 40% of CPU, non work conserving mode (i.e.m, they only consume up to that much even if there is idle time).
I think this will have to change at some point, but for now, slowdowns for operation like the ones in xen-create-image are to be expected, and this patch looks therefore ok to me.
Thanks and Regards,
Dario
Signature · 4 lines
<<This happens because I choose it to happen!>> (Raistlin Majere) ----------------------------------------------------------------- Dario Faggioli, Ph.D, http://about.me/dario.faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 27 lines · Dario Faggioli
Quoted 17 lines · Ian Campbell
This step is consistently timing out when run on cubietruck-*. Judging
from the logs it appears to be completing during the 30s slack added by tcmdex (i.e. after the timeout message the rest of the output appears in the test step log).Looking at the results on arndale-* (which looks to pass reasonably reliably) I see that the regular test-armhf-armhf-xl job takes around 550s to do the xen-create-image while test-armhf-armhf-xl-rtds typically takes around 1100s (twice as long).
On cubietruck-braque test-armhf-armhf-xl uses 900s. One could therefore extrapolate that test-armhf-armhf-xl-rtds might need more than 1800s and not be too surprised that it appears to need something a bit more than 2000s in practice. 2500s seems like sufficient headroom.
Quoted 7 lines
For comparisson with arm on x86 godello takes around 210s in the normal case and 680s with RTDS (>3x slower) while nocera takes 265s and 640s (2.4x). (Those are from nearby but not identical flights in order to match up the host).
Signed-off-by Ian Campbell <[email protected]>Reviewed-by Dario Faggioli <[email protected]>
Quoted 7 lines
Quoted 4 lines
---
Dario, Meng, I suppose a 2-3x slow down with RTDS on a dom0 operation (with no domains running) such as xen-create-image is not unexpected?Yes, as of now, I think it is. RTDS' default scheduling parameters throttle domains' vcpus to max 40% of CPU, non work conserving mode (i.e.m, they only consume up to that much even if there is idle time).
Thanks. 40% seems to correlate to the 2-3x slowdown we are seeing.
Quoted 7 lines
I think this will have to change at some point, but for now, slowdowns for operation like the ones in xen-create-image are to be expected, and this patch looks therefore ok to me.
Thanks and Regards,
Dario
Ian Campbell writes ("[PATCH OSSTEST] ts-debian-install: increase time allowed for xen-create-image"):
Quoted 4 lines
This step is consistently timing out when run on cubietruck-*. Judging from the logs it appears to be completing during the 30s slack added by tcmdex (i.e. after the timeout message the rest of the output appears in the test step log).