> I have tried to run libmicro-0.4.0 in XVM Guest, but it takes very very long
> time to finish some workloads, like following:
> 
> Running:           pthread_8 for      0.52335 seconds
> Running:          pthread_32 for     99.42079 seconds
> Running:         pthread_128 for    709.45210 seconds
> Running:         pthread_512 for   2173.69252 seconds
> Running:             fork_10 for    450.65546 seconds
> Running:            fork_100 for   2422.17060 seconds
> Running:           fork_1000 for  12677.38952 seconds
> Running:             exit_10 for    479.75481 seconds
> Running:            exit_100 for   5319.76236 seconds
> Running:           exit_1000 for  11960.19162 seconds
>
> This performance is unacceptable. Does anyone run libmicro in XVM guest and
> meet similar performance issue?

Now I found one case which shows similar bad performance,
when running a 32-bit PV domU on a 32-bit hypervisor / dom0:


AMD Athlon(tm) 64 X2 Dual Core Processor 4200+, 2GB memory,
ASUS M2N-SLI mainboard

Metal, 64-bit snv_89_jk:

Running:           pthread_8 for      0.04898 seconds
Running:          pthread_32 for      0.26509 seconds
Running:         pthread_128 for      1.21631 seconds
Running:         pthread_512 for      4.76169 seconds
Running:             fork_10 for      0.93175 seconds
Running:            fork_100 for      4.49625 seconds
Running:           fork_1000 for     26.18381 seconds
Running:             exit_10 for      0.95886 seconds
Running:            exit_100 for      8.96319 seconds
Running:           exit_1000 for     24.17053 seconds
Running:      exit_10_nolibc for      0.85262 seconds
Running:                exec for      2.70168 seconds
Running:              system for      0.84826 seconds


xvm-3.1.2, dom0 64-bit snv_89_jk:

Running:          pthread_32 for      0.53858 seconds
Running:         pthread_128 for      2.57607 seconds
Running:         pthread_512 for     10.71432 seconds
Running:             fork_10 for      2.61526 seconds
Running:            fork_100 for     12.75885 seconds
Running:           fork_1000 for     69.88794 seconds
Running:             exit_10 for      2.65042 seconds
Running:            exit_100 for     25.04509 seconds
Running:           exit_1000 for     68.19156 seconds
Running:      exit_10_nolibc for      2.39116 seconds
Running:                exec for      5.15281 seconds
Running:              system for      0.80669 seconds

xvm-3.1.2, dom0 64-bit snv_89_jk, PV domU 64-bit snv_81:

Running:           pthread_8 for      0.09420 seconds
Running:          pthread_32 for      0.58616 seconds
Running:         pthread_128 for      3.45849 seconds
Running:         pthread_512 for     15.45593 seconds
Running:             fork_10 for      3.84074 seconds
Running:            fork_100 for     19.67664 seconds
Running:           fork_1000 for    108.18713 seconds
Running:             exit_10 for      3.97054 seconds
Running:            exit_100 for     39.66799 seconds
Running:           exit_1000 for    108.11301 seconds
Running:      exit_10_nolibc for      3.48699 seconds
Running:                exec for      5.02064 seconds
Running:              system for      0.75190 seconds

xvm-3.1.2, dom0 32-bit snv_89_jk 2 GB:

Running:           pthread_8 for      0.09071 seconds
Running:          pthread_32 for      0.55709 seconds
Running:         pthread_128 for      2.70635 seconds
Running:         pthread_512 for     11.40686 seconds
Running:             fork_10 for      6.06467 seconds
Running:            fork_100 for     29.80479 seconds
Running:           fork_1000 for    154.45035 seconds
Running:             exit_10 for      6.13718 seconds
Running:            exit_100 for     59.26230 seconds
Running:           exit_1000 for    152.97872 seconds
Running:      exit_10_nolibc for      5.48510 seconds
Running:                exec for     15.22421 seconds
Running:              system for      1.57240 seconds

xvm-3.1.2, dom0 32-bit snv_89_jk, PV domU 32-bit snv_81  512 MB:

Running:           pthread_8 for        0.19110 seconds
Running:          pthread_32 for        0.59175 seconds
Running:         pthread_128 for        2.88713 seconds
Running:         pthread_512 for        12.40649 seconds
Running:                fork_10 for    142.81571 seconds
Running:            fork_100 for    746.77374 seconds
Running:           fork_1000 for   3787.58311 seconds
Running:                exit_10 for    143.96250 seconds
Running:            exit_100 for   1468.19651 seconds
Running:           exit_1000 for   3785.56885 seconds
Running:        exit_10_nolibc for    143.47533 seconds
Running:                exec for        24.47621 seconds
Running:                system for      1.39835 seconds


I'd say these times look reasonable with the exception of
the last set of times for the 32bit domU on 32bit dom0  case,
where times are an order or magnitude worse then expected.

32bit domU  on 64bit dom0 didn't show that massive slowdown.
 
 
This message posted from opensolaris.org
_______________________________________________
xen-discuss mailing list
[email protected]

Reply via email to