commit virt-tuner for openSUSE:Factory

2021-12-23 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package virt-tuner for openSUSE:Factory 
checked in at 2021-12-23 17:53:55

Comparing /work/SRC/openSUSE:Factory/virt-tuner (Old)
 and  /work/SRC/openSUSE:Factory/.virt-tuner.new.2520 (New)


Package is "virt-tuner"

Thu Dec 23 17:53:55 2021 rev:4 rq:942247 version:0.0.3

Changes:

--- /work/SRC/openSUSE:Factory/virt-tuner/virt-tuner.changes2021-10-06 
19:50:13.668064583 +0200
+++ /work/SRC/openSUSE:Factory/.virt-tuner.new.2520/virt-tuner.changes  
2021-12-23 17:54:16.779738777 +0100
@@ -1,0 +2,5 @@
+Tue Dec 14 14:14:14 UTC 2021 - oher...@suse.de
+
+- Add python-rpm-macros (bsc#1180125)
+
+---



Other differences:
--
++ virt-tuner.spec ++
--- /var/tmp/diff_new_pack.jsqS6g/_old  2021-12-23 17:54:17.203739035 +0100
+++ /var/tmp/diff_new_pack.jsqS6g/_new  2021-12-23 17:54:17.207739037 +0100
@@ -28,6 +28,7 @@
 Group:  Productivity/Other
 URL:https://github.com/cbosdo/virt-tuner
 Source: %{name}-%{version}.tar.gz
+BuildRequires:  python-rpm-macros
 BuildRequires:  %{python_module libvirt-python}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes


commit virt-tuner for openSUSE:Factory

2021-10-06 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package virt-tuner for openSUSE:Factory 
checked in at 2021-10-06 19:50:00

Comparing /work/SRC/openSUSE:Factory/virt-tuner (Old)
 and  /work/SRC/openSUSE:Factory/.virt-tuner.new.2443 (New)


Package is "virt-tuner"

Wed Oct  6 19:50:00 2021 rev:3 rq:923518 version:0.0.3

Changes:

--- /work/SRC/openSUSE:Factory/virt-tuner/virt-tuner.changes2021-08-27 
21:45:30.954084074 +0200
+++ /work/SRC/openSUSE:Factory/.virt-tuner.new.2443/virt-tuner.changes  
2021-10-06 19:50:13.668064583 +0200
@@ -1,0 +2,6 @@
+Wed Oct  6 13:58:07 UTC 2021 - C??dric Bosdonnat 
+
+- Release 0.0.3
+  - Fix virtual CPU order for hyperthreads to match in QEMU
+
+---

Old:

  virt-tuner-0.0.2.tar.gz

New:

  virt-tuner-0.0.3.tar.gz



Other differences:
--
++ virt-tuner.spec ++
--- /var/tmp/diff_new_pack.Q3xPdg/_old  2021-10-06 19:50:14.184065061 +0200
+++ /var/tmp/diff_new_pack.Q3xPdg/_new  2021-10-06 19:50:14.188065065 +0200
@@ -21,7 +21,7 @@
 %define pythons python3
 
 Name:   virt-tuner
-Version:0.0.2
+Version:0.0.3
 Release:0
 Summary:Virtual Machine definition tuner
 License:GPL-3.0-or-later

++ virt-tuner-0.0.2.tar.gz -> virt-tuner-0.0.3.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/virt-tuner-0.0.2/AUTHORS new/virt-tuner-0.0.3/AUTHORS
--- old/virt-tuner-0.0.2/AUTHORS2021-08-27 17:28:12.0 +0200
+++ new/virt-tuner-0.0.3/AUTHORS2021-10-06 15:57:39.0 +0200
@@ -3,4 +3,5 @@
 
 The individual contributors are
 
+   Cedric Bosdonnat 
C??dric Bosdonnat 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/virt-tuner-0.0.2/ChangeLog 
new/virt-tuner-0.0.3/ChangeLog
--- old/virt-tuner-0.0.2/ChangeLog  2021-08-27 17:28:12.0 +0200
+++ new/virt-tuner-0.0.3/ChangeLog  2021-10-06 15:57:39.0 +0200
@@ -1,3 +1,25 @@
+2021-10-06 Cedric Bosdonnat  
+
+Merge pull request #1 from cbosdo/cpu-fix
+vcpu order fix
+
+2021-10-06 C??dric Bosdonnat  
+
+Fix virtual CPUs order
+QEMU considers consecutive virtual CPUs to be on the same core. This
+commit changes the vCPUs ids to address this issue.
+
+
+2021-10-06 C??dric Bosdonnat  
+
+Bump version to 0.0.3
+
+
+2021-10-06 C??dric Bosdonnat  
+
+Add missing entries in NEWS.md
+
+
 2021-08-27 C??dric Bosdonnat  
 
 Fix numa memory merging whathever the unit is in CLI
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/virt-tuner-0.0.2/NEWS.md new/virt-tuner-0.0.3/NEWS.md
--- old/virt-tuner-0.0.2/NEWS.md2021-07-13 10:40:36.0 +0200
+++ new/virt-tuner-0.0.3/NEWS.md2021-10-06 14:39:36.0 +0200
@@ -1 +1,13 @@
 # Virt Tuner News
+
+## Version 0.0.1
+
+* Single VM per host template
+
+## Version 0.0.2
+
+* Fix NUMA cells memory computation for 'single' template
+
+## Version 0.0.3
+
+* Fix the virtual CPUs ordering to have sibling with consecutive IDs.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/virt-tuner-0.0.2/PKG-INFO 
new/virt-tuner-0.0.3/PKG-INFO
--- old/virt-tuner-0.0.2/PKG-INFO   2021-08-27 17:28:12.306105900 +0200
+++ new/virt-tuner-0.0.3/PKG-INFO   2021-10-06 15:57:39.374396000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 2.1
 Name: virt-tuner
-Version: 0.0.2
+Version: 0.0.3
 Summary: VM definition tuner
 Home-page: https://github.com/SUSE/virt-tuner
 Author: Cedric Bosdonnat
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/virt-tuner-0.0.2/src/virt_tuner/__init__.py 
new/virt-tuner-0.0.3/src/virt_tuner/__init__.py
--- old/virt-tuner-0.0.2/src/virt_tuner/__init__.py 2021-08-27 
17:05:31.0 +0200
+++ new/virt-tuner-0.0.3/src/virt_tuner/__init__.py 2021-10-06 
15:45:48.0 +0200
@@ -37,7 +37,7 @@
 
 log = logging.getLogger(__name__)
 
-__version__ = "0.0.2"
+__version__ = "0.0.3"
 
 
 Template = namedtuple("Template", ["description", "function", "parameters"])
@@ -51,7 +51,13 @@
 cpus = [cell.cpus for cell in cells]
 cpus = [cpu for sublist in cpus for cpu in sublist]
 
-key_fn = lambda c: "{}-{}".format(c["socket_id"], c["core_id"])
+key_fn = lambda c: "{:0>5}{:0>5}".format(c["socket_id"], c["core_id"])
+
+# Sort the cpus to have the consecutive IDs for the siblings:
+# QEMU needs this trick to think the two virtual cpus are located on the 
same core.
+cpus = sorted(cpus, key=key_fn)
+for 

commit virt-tuner for openSUSE:Factory

2021-08-27 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package virt-tuner for openSUSE:Factory 
checked in at 2021-08-27 21:44:20

Comparing /work/SRC/openSUSE:Factory/virt-tuner (Old)
 and  /work/SRC/openSUSE:Factory/.virt-tuner.new.1899 (New)


Package is "virt-tuner"

Fri Aug 27 21:44:20 2021 rev:2 rq:914649 version:0.0.2

Changes:

--- /work/SRC/openSUSE:Factory/virt-tuner/virt-tuner.changes2021-07-27 
14:32:21.683466304 +0200
+++ /work/SRC/openSUSE:Factory/.virt-tuner.new.1899/virt-tuner.changes  
2021-08-27 21:45:30.954084074 +0200
@@ -1,0 +2,6 @@
+Fri Aug 27 15:10:28 UTC 2021 - C??dric Bosdonnat 
+
+- Release 0.0.2:
+- Allocate entire 1GiB hugepages for each cell on the single template 
+
+---

Old:

  virt-tuner-0.0.1.tar.gz

New:

  virt-tuner-0.0.2.tar.gz



Other differences:
--
++ virt-tuner.spec ++
--- /var/tmp/diff_new_pack.8pFuew/_old  2021-08-27 21:45:31.446084661 +0200
+++ /var/tmp/diff_new_pack.8pFuew/_new  2021-08-27 21:45:31.450084665 +0200
@@ -1,6 +1,7 @@
 #
-# spec file for package specRPM_CREATION_NAME
+# spec file for package virt-tuner
 #
+# Copyright (c) 2021 SUSE LLC
 # Copyright (c) specCURRENT_YEAR SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
@@ -12,26 +13,27 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+
 %{?!python_module:%define python_module() python3-%{**}}
 %define pythons python3
 
 Name:   virt-tuner
-Version:0.0.1
+Version:0.0.2
 Release:0
 Summary:Virtual Machine definition tuner
 License:GPL-3.0-or-later
 Group:  Productivity/Other
-Url:https://github.com/cbosdo/virt-tuner
+URL:https://github.com/cbosdo/virt-tuner
 Source: %{name}-%{version}.tar.gz
-BuildRequires:  %{python_module setuptools} 
 BuildRequires:  %{python_module libvirt-python}
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 Requires:   python-libvirt-python
 Requires(post): update-alternatives
-Requires(postun): update-alternatives
+Requires(postun):update-alternatives
 BuildArch:  noarch
 %python_subpackages
 

++ virt-tuner-0.0.1.tar.gz -> virt-tuner-0.0.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/virt-tuner-0.0.1/ChangeLog 
new/virt-tuner-0.0.2/ChangeLog
--- old/virt-tuner-0.0.1/ChangeLog  2021-07-06 10:38:13.0 +0200
+++ new/virt-tuner-0.0.2/ChangeLog  2021-08-27 17:28:12.0 +0200
@@ -1,14 +1,57 @@
-2021-07-06 C??dric Bosdonnat  
+2021-08-27 C??dric Bosdonnat  
+
+Fix numa memory merging whathever the unit is in CLI
+
+
+2021-08-27 C??dric Bosdonnat  
+
+Bump version to 0.0.2
+
+
+2021-08-27 C??dric Bosdonnat  
+
+Fix memory computation in single template
+The memory calculation needs to consider two rules:
+* each NUMA cell needs to have a multiple of 1GiB of memory
+* each NUMA cell should have the same amount of memory
+* keep the host 9% or more for the host
+
+The previous computation only took a multiple of 1GiB of memory for the
+entire VM and didn't care about the amount on hugepages that could fit
+on each cell.
+
+
+2021-08-24 C??dric Bosdonnat  
+
+Remove unneeded run script
+
+
+2021-08-24 C??dric Bosdonnat  
+
+Fix run instruction in README
+
+
+2021-07-19 C??dric Bosdonnat  
+
+Flag virt_tuner descriptions as localizable
+
+
+2021-07-13 C??dric Bosdonnat  
+
+Fix repostory URL in setup.py
+
+
+2021-07-13 C??dric Bosdonnat  
 
 Fix entry point and --template handling
 
 
-2021-06-28 C??dric Bosdonnat  
+2021-07-13 C??dric Bosdonnat  
 
 Handle single vm per host tuning
 
 
-2021-06-28 C??dric Bosdonnat  
+2021-07-13 C??dric Bosdonnat  
 
 Initial commit
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/virt-tuner-0.0.1/PKG-INFO 
new/virt-tuner-0.0.2/PKG-INFO
--- old/virt-tuner-0.0.1/PKG-INFO   2021-07-06 10:38:13.776485000 +0200
+++ new/virt-tuner-0.0.2/PKG-INFO   2021-08-27 17:28:12.306105900 +0200
@@ -1,8 +1,8 @@
 Metadata-Version: 2.1
 Name: virt-tuner
-Version: 0.0.1
+Version: 0.0.2
 Summary: VM definition tuner
-Home-page: https://github.com/cbosdo/virt-tuner
+Home-page: