search for: 7637b1a8c

Displaying 2 results from an estimated 2 matches for "7637b1a8c".

2020 Sep 18
0
[PATCH v2v] v2v: Set the number of vCPUs to same as host number of pCPUs.
...tions(+), 1 deletion(-) diff --git a/common b/common index c840f2e39..ea5278bba 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit c840f2e39d0bb637a98b224c89f6df011e1d4414 +Subproject commit ea5278bba7800e3a6d9c233a0f5f53a9acf244f8 diff --git a/v2v/v2v.ml b/v2v/v2v.ml index 73edff2c4..7637b1a8c 100644 --- a/v2v/v2v.ml +++ b/v2v/v2v.ml @@ -88,6 +88,8 @@ let rec main () = let g = open_guestfs ~identifier:"v2v" () in g#set_memsize (g#get_memsize () * 14 / 5); + (* Setting the number of vCPUs allows parallel mkinitrd. *) + g#set_smp (Sysconf.nr_processors_online ()); (*...
2020 Sep 18
4
[PATCH v2v] v2v: Set the number of vCPUs to same as host number of pCPUs.
So it didn't make any noticable difference in my test. I wonder if the test guest I'm using (Fedora 32 using dracut) doesn't use parallel compression? However I don't think it can cause a problem and it seems obvious that it could benefit some cases. Rich.