Martin Betak has uploaded a new change for review.

Change subject: engine: Update os-info max memory sizes for x64 systems
......................................................................

engine: Update os-info max memory sizes for x64 systems

64-bit RHEL and windows systems inherited max memory size from "other"
system which specified appropriate value for 32-bit systems (64000M).

Updated value of os.resource.maximum.ram for the following systems:

  RHEL3x64:     128 GB
  RHEL4x64:     256 GB
  RHEL5x64:     1 TB
  RHEL6x64:     3 TB
  RHEL7x64:     3 TB

  Windows2003x64:       1 TB
  Windows2008x64:       1 TB
  Windows2008R2x64:     2 TB
  Windows2012x64        4 TB
  Windows7x64:          192 GB
  Windows8x64:          512 GB

Based on:
  [1] https://access.redhat.com/articles/rhel-limits
  [2] 
http://msdn.microsoft.com/en-us/library/windows/desktop/aa366778(v=vs.85).aspx

Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1087745
Change-Id: Ib2b098fb0c05cca5d5f9638c7ac693c631317b2f
Signed-off-by: Martin Betak <[email protected]>
---
M packaging/conf/osinfo-defaults.properties
1 file changed, 9 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/91/30891/1

diff --git a/packaging/conf/osinfo-defaults.properties 
b/packaging/conf/osinfo-defaults.properties
index f0937dc..a594e1d 100644
--- a/packaging/conf/osinfo-defaults.properties
+++ b/packaging/conf/osinfo-defaults.properties
@@ -98,6 +98,7 @@
 os.rhel_3x64.devices.diskInterfaces.value.3.3 = IDE, VirtIO
 os.rhel_3x64.devices.diskInterfaces.value.3.4 = IDE, VirtIO
 os.rhel_3x64.devices.diskInterfaces.value.3.5 = IDE, VirtIO
+os.rhel_3x64.resources.maximum.ram.value = 131072
 
 # rhel4(8, OsType.Linux, false),
 os.rhel_4.id.value = 8
@@ -108,6 +109,7 @@
 os.rhel_4x64.id.value = 14
 os.rhel_4x64.name.value = Red Hat Enterprise Linux 4.x x64
 os.rhel_4x64.derivedFrom.value = rhel_3x64
+os.rhel_4x64.resources.maximum.ram.value = 262144
 
 # rhel5(7, OsType.Linux, false),
 os.rhel_5.id.value = 7
@@ -119,6 +121,7 @@
 os.rhel_5x64.name.value = Red Hat Enterprise Linux 5.x x64
 os.rhel_5x64.derivedFrom.value = rhel_4x64
 os.rhel_5x64.bus.value = 64
+os.rhel_5x64.resources.maximum.ram.value = 1048576
 
 # rhel6(18, OsType.Linux, false),
 os.rhel_6.id.value = 18
@@ -137,6 +140,7 @@
 os.rhel_6x64.devices.diskInterfaces.value.3.3 = IDE, VirtIO_SCSI, VirtIO
 os.rhel_6x64.devices.diskInterfaces.value.3.4 = IDE, VirtIO_SCSI, VirtIO
 os.rhel_6x64.devices.diskInterfaces.value.3.5 = IDE, VirtIO_SCSI, VirtIO
+os.rhel_6x64.resources.maximum.ram.value = 3145728
 
 os.rhel_7x64.id.value = 24
 os.rhel_7x64.name.value = Red Hat Enterprise Linux 7.x x64
@@ -189,6 +193,7 @@
 os.windows_2003x64.sysprepPath.value = ${ENGINE_USR}/conf/sysprep/sysprep.2k3
 os.windows_2003x64.productKey.value =
 os.windows_2003x64.isTimezoneTypeInteger.value = true
+os.windows_2003x64.resources.maximum.ram.value = 1048576
 
 # Windows7(11, OsType.Windows, false),false
 os.windows_7.id.value = 11
@@ -210,6 +215,7 @@
 os.windows_7x64.resources.minimum.ram.value = 1024
 os.windows_7x64.sysprepPath.value = ${ENGINE_USR}/conf/sysprep/sysprep.w7x64
 os.windows_7x64.productKey.value =
+os.windows_7x64.resources.maximum.ram.value = 196608
 
 # Windows2008x64(16, OsType.Windows, true),
 os.windows_2008x64.id.value = 16
@@ -225,6 +231,7 @@
 os.windows_2008R2x64.name.value = Windows 2008 R2 x64
 os.windows_2008R2x64.derivedFrom.value = windows_2008x64
 os.windows_2008R2x64.productKey.value =
+os.windows_2008R2x64.resources.maximum.ram.value = 2097152
 
 # Windows8(20, OsType.Windows, false),
 os.windows_8.id.value = 20
@@ -242,6 +249,7 @@
 os.windows_8x64.sysprepPath.value = ${ENGINE_USR}/conf/sysprep/sysprep.w8x64
 os.windows_8x64.productKey.value =
 os.windows_8x64.devices.display.protocols.value = vnc/cirrus
+os.windows_8x64.resources.maximum.ram.value = 524288
 
 # Windows2012x64(23, OsType.Windows, true);
 os.windows_2012x64.id.value = 23
@@ -250,6 +258,7 @@
 os.windows_2012x64.sysprepPath.value = 
${ENGINE_USR}/conf/sysprep/sysprep.2k12x64
 os.windows_2012x64.productKey.value =
 os.windows_2012x64.devices.display.protocols.value = vnc/cirrus
+os.windows_2012x64.resources.maximum.ram.value = 4194304
 
 #Suse
 os.sles_11.id.value = 1193


-- 
To view, visit http://gerrit.ovirt.org/30891
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib2b098fb0c05cca5d5f9638c7ac693c631317b2f
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5
Gerrit-Owner: Martin Betak <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to