Re: Vimage globals vs structures measurements.
On Wed, 4 Feb 2009, Bjoern A. Zeeb wrote: On Mon, 2 Feb 2009, Julian Elischer wrote: Hi, If I can get some confirmation of this by others then the next step would be to simply remove the VIMAGE_GLOBALS option and all the global variables it covers. At least that's what seems next to me.. no, the next step is to bring in the beaf (last step). ... beef ... anyway. The indirection, the real virtualization, the multiple images, ... you count my typos;) I think we had clearly decided (somewhen, somewho) that we want one version with all three options at the same time. Once we are confident, hopefully after a few days at that point, VIMAGE_GLOBALS will go away. So please do not rape that out. In two months there were no real accidents wrt. VIMAGE_GLOBALS even with all the larger changes that went in. I think it's safe to keep them another 4-6 weeks. /bz -- Bjoern A. Zeeb The greatest risk is not taking one. ___ freebsd-virtualization@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscr...@freebsd.org"
Re: Vimage globals vs structures measurements.
On Mon, 2 Feb 2009, Julian Elischer wrote: Hi, If I can get some confirmation of this by others then the next step would be to simply remove the VIMAGE_GLOBALS option and all the global variables it covers. At least that's what seems next to me.. no, the next step is to bring in the beaf (last step). I think we had clearly decided (somewhen, somewho) that we want one version with all three options at the same time. Once we are confident, hopefully after a few days at that point, VIMAGE_GLOBALS will go away. So please do not rape that out. In two months there were no real accidents wrt. VIMAGE_GLOBALS even with all the larger changes that went in. I think it's safe to keep them another 4-6 weeks. /bz -- Bjoern A. Zeeb The greatest risk is not taking one. ___ freebsd-virtualization@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscr...@freebsd.org"
Re: Vimage globals vs structures measurements.
Julian Elischer wrote: Julian Elischer wrote: anyone who has commands and args for their favourite thing the'd like me to test... send it in.. so far using ttcp I have seem no measureable difference. but I have more tests to do of course.. for example throughput with small packets with ttcp (KB/Sec) x VIMAGE_GLOBALS + NO_VIMAGE_GLOBALS +-+ | + xx | | + xxx + | | + xxx x | | x+ x + + xxx + | |x+ ++ xx xxx + xxx x x x + ***x | ||_A__M__|| | |AM| | +-+ N Min Max Median Avg Stddev x 40 48016.01 57361.3256268.06 54915.582 2554.0133 + 40 48999.66 59646.5956261.58 56086.798 3119.1782 ___ freebsd-...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" as I said before mst of my tests have shown no real change but this one has the most change I've seen.. it's 160 byte udp packets sent between two identical machines (both using the same kernel each time). x VIMAGE_GLOBALS + NO_VIMAGE_GLOBALS +-+ | + + ++ xx x x | | + + ++ +x++x +xx x x | | + + +++ + +*+**x+ x | | + +++ +++x*++*+**x*x*xx x x x | | + +*+x**+*+**x*x*x*xx x x xx| |*+*+**x*xx xxx| |+ + xx + *++*++***x*x x| |+ +*+++ xx++*+*+*++x***x*xxx*xx x xx x| | |__A__| | | |_A|| +-+ N Min MaxMedianAvgStddev x 150 10175.11 11292.11 10763.8010760.77200.92124 + 150 10075.64 11019.12 10591.6810580.059 172.29227 Difference at 95.0% confidence -180.711 +/- 42.3572 -1.67935% +/- 0.393626% (Student's t, pooled s = 187.155) this one showed a 1.7% slowdown where the one above showed a half percent speedup (but not considered significant). The first one shown above was TCP with 1500 byte packets on bge 1G interfaces.. more test ideas appreciated... more tests.. this one with iperf... x NO_VIMAGE_GLOBALS + VIMAGE_GLOBALS +-+ | + x x x | | ++ x x x x | | + + + + x x x x | | + + + + x x x x | | + + + + + x x xx x | | + + + + * x x x x x x | | + + + + * x * x x x x | | + + + ++ * * * x x x x | | + + + + + + * * * x x x x | | + + + + + + + * * * x x x x | | + + + + + + + * * * * x x x x x | | + + + + + + * * * * * * x x x x | | + + + + + + * * * * * * x x x x | | + + + + + + * * * * * * * * x * x x | |x + + + + * * * * * * * * * * * * x x x| | |A_| | | |MA_| | +-+ N Min Max Median AvgStddev x 120 418 441435 435.025 3.4089908 + 120 423 438429 429.51667 3.4664862 Difference at 95.0% confidence -5.50833 +/- 0.869898 -1.26621% +/- 0.199965% (Student's t, pooled s = 3.43786) bigger is better... In this case we see that NO_VIMAGE_GLOBALS is better. Over several iterations I have come to the conclusion that other factors are overwhelming this change and that the effect of clustering all the 'global' variables together into a single global structure is negligible. If
Re: Vimage globals vs structures measurements.
Julian Elischer wrote: anyone who has commands and args for their favourite thing the'd like me to test... send it in.. so far using ttcp I have seem no measureable difference. but I have more tests to do of course.. for example throughput with small packets with ttcp (KB/Sec) x VIMAGE_GLOBALS + NO_VIMAGE_GLOBALS +-+ | + xx | | + xxx + | | + xxx x | | x+ x + + xxx + | |x+ ++ xx xxx + xxx x x x + ***x | ||_A__M__|| | |AM| | +-+ N Min Max Median Avg Stddev x 40 48016.01 57361.3256268.06 54915.582 2554.0133 + 40 48999.66 59646.5956261.58 56086.798 3119.1782 ___ freebsd-...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org" as I said before mst of my tests have shown no real change but this one has the most change I've seen.. it's 160 byte udp packets sent between two identical machines (both using the same kernel each time). x VIMAGE_GLOBALS + NO_VIMAGE_GLOBALS +-+ | + + ++ xx x x | | + + ++ +x++x +xx x x | | + + +++ + +*+**x+ x | | + +++ +++x*++*+**x*x*xx x x x | | + +*+x**+*+**x*x*x*xx x x xx| |*+*+**x*xx xxx| |+ + xx + *++*++***x*x x| |+ +*+++ xx++*+*+*++x***x*xxx*xx x xx x| | |__A__| | | |_A|| +-+ N Min MaxMedianAvgStddev x 150 10175.11 11292.11 10763.8010760.77200.92124 + 150 10075.64 11019.12 10591.6810580.059 172.29227 Difference at 95.0% confidence -180.711 +/- 42.3572 -1.67935% +/- 0.393626% (Student's t, pooled s = 187.155) this one showed a 1.7% slowdown where the one above showed a half percent speedup (but not considered significant). The first one shown above was TCP with 1500 byte packets on bge 1G interfaces.. more test ideas appreciated... ___ freebsd-virtualization@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-virtualization To unsubscribe, send any mail to "freebsd-virtualization-unsubscr...@freebsd.org"