Skip to contentSkip to conversation

ts-windows-install: Bump RAM from 512M to 1700M

PATCH Superseded Ian Jackson 4 participants 8 messages Jul 16, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ts-windows-install: Bump RAM from 512M to 1700M

Sadly we lack a proper infrastructure for handing guest memory size and fitting it into the host. We don't currently even have in our database the amount of RAM the host has.

The recommended minimum for Windows is 2Gby. But we have (in the Cambridge instance) some hosts which only have 4Gby. We allow 512 for dom0. So set this to 1700 which should fit.

Later we may want to do something more sophisticated, like adjusting this to 2048 if the host has enough, or only running the test on bigger hosts, or something.

---
 ts-windows-install |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ts-windows-install +1 -1
index 7740ee6..bdedf2b 100755
@@ -28,7 +28,7 @@ our $ho= selecthost($whhost);
 
 our $gho;
 
-our $ram_mb=    512;
+our $ram_mb=   1700;
 our $disk_mb= 10000;
 
 our $guesthost= 'win.guest.osstest';
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 8 lines · Ian Jackson

Sadly we lack a proper infrastructure for handing guest memory size and fitting it into the host. We don't currently even have in our database the amount of RAM the host has.

The recommended minimum for Windows is 2Gby. But we have (in the Cambridge instance) some hosts which only have 4Gby. We allow 512 for dom0. So set this to 1700 which should fit.

Quoted 6 lines

Later we may want to do something more sophisticated, like adjusting this to 2048 if the host has enough, or only running the test on bigger hosts, or something.

1.7 + 1.7 + 0.5 = 3.9

That is cutting it very narrow for Xen. How about 1.5 for windows instead?

~Andrew

#2 lore raw
Quoted 9 lines · Andrew Cooper
Quoted 8 lines · Ian Jackson

Sadly we lack a proper infrastructure for handing guest memory size and fitting it into the host. We don't currently even have in our database the amount of RAM the host has.

The recommended minimum for Windows is 2Gby. But we have (in the Cambridge instance) some hosts which only have 4Gby. We allow 512 for dom0. So set this to 1700 which should fit.

Quoted 8 lines
Quoted 6 lines

Later we may want to do something more sophisticated, like adjusting this to 2048 if the host has enough, or only running the test on bigger hosts, or something.

1.7 + 1.7 + 0.5 = 3.9

Where 2x1.7 is for localhost migration. right?

Quoted 4 lines

That is cutting it very narrow for Xen. How about 1.5 for windows instead?

~Andrew

#3 lore raw
Quoted 10 lines · Ian Campbell
Quoted 9 lines · Andrew Cooper
Quoted 8 lines · Ian Jackson

Sadly we lack a proper infrastructure for handing guest memory size and fitting it into the host. We don't currently even have in our database the amount of RAM the host has.

The recommended minimum for Windows is 2Gby. But we have (in the Cambridge instance) some hosts which only have 4Gby. We allow 512 for dom0. So set this to 1700 which should fit.

Quoted 8 lines
Quoted 7 lines
Quoted 6 lines

Later we may want to do something more sophisticated, like adjusting this to 2048 if the host has enough, or only running the test on bigger hosts, or something.

1.7 + 1.7 + 0.5 = 3.9

Where 2x1.7 is for localhost migration. right?

Yes. Sorry - I should have stated that outright.

~Andrew

#4 lore raw

PATCH v2 1/1 ts-windows-install: Bump RAM from 512M to 1536M

In reply to Ian Campbell

Sadly we lack a proper infrastructure for handing guest memory size and fitting it into the host. We don't currently even have in our database the amount of RAM the host has.

The recommended minimum for Windows is 2Gby. But we have (in the Cambridge instance) some hosts which only have 4Gby. We allow 512 for dom0. We need to leave some spare for Xen and other overheads. So set this to 1536 (1.5Gby) which should fit even during localhost migration.

Later we may want to do something more sophisticated, like adjusting this to 2048 if the host has enough, or only running the test on bigger hosts, or something.

CC Wei Liu <[email protected]>
CC Andrew Cooper <[email protected]>

---
v2: 1536 not 1700.
Mention migration in the commit message.

---
 ts-windows-install |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ts-windows-install +1 -1
index 7740ee6..bdedf2b 100755
@@ -28,7 +28,7 @@ our $ho= selecthost($whhost);
 
 our $gho;
 
-our $ram_mb=    512;
+our $ram_mb=   1700;
 our $disk_mb= 10000;
 
 our $guesthost= 'win.guest.osstest';
Signature · 1 line
1.7.10.4
#5 lore raw

Re: [OSSTEST PATCH v2] ts-windows-install: Bump RAM from 512M to 1536M

Quoted 29 lines · Ian Jackson

Sadly we lack a proper infrastructure for handing guest memory size and fitting it into the host. We don't currently even have in our database the amount of RAM the host has.

The recommended minimum for Windows is 2Gby. But we have (in the Cambridge instance) some hosts which only have 4Gby. We allow 512 for dom0. We need to leave some spare for Xen and other overheads. So set this to 1536 (1.5Gby) which should fit even during localhost migration.

Later we may want to do something more sophisticated, like adjusting this to 2048 if the host has enough, or only running the test on bigger hosts, or something.

CC Wei Liu <[email protected]>
CC Andrew Cooper <[email protected]>

---
v2: 1536 not 1700.
Mention migration in the commit message.

---
 ts-windows-install |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ts-windows-install +0 -0
index 7740ee6..bdedf2b 100755

ts-windows-install our $ho= selecthost($whhost); · line 31

Quoted 5 lines
ts-windows-install +1 -1
@@ -28,7 +28,7 @@ our $ho= selecthost($whhost);
 
 our $gho;
 
-our $ram_mb=    512;
+our $ram_mb=   1700;

This disagrees with your commit message.

Quoted 5 lines
ts-windows-install +0 -0
 our $disk_mb= 10000;
 
 our $guesthost= 'win.guest.osstest';
Signature · 1 line
1.7.10.4
Acked-by on v2 1/1
#6 lore raw

Re: [OSSTEST PATCH v2] ts-windows-install: Bump RAM from 512M to 1536M

In reply to Ian Jackson
Quoted 14 lines · Ian Jackson

Sadly we lack a proper infrastructure for handing guest memory size and fitting it into the host. We don't currently even have in our database the amount of RAM the host has.

The recommended minimum for Windows is 2Gby. But we have (in the Cambridge instance) some hosts which only have 4Gby. We allow 512 for dom0. We need to leave some spare for Xen and other overheads. So set this to 1536 (1.5Gby) which should fit even during localhost migration.

Later we may want to do something more sophisticated, like adjusting this to 2048 if the host has enough, or only running the test on bigger hosts, or something.

Quoted 5 lines
CC Wei Liu <[email protected]>
CC Andrew Cooper <[email protected]>

---
v2: 1536 not 1700.

The patch still says 1700..

A patch which said 1536 would be:

Quoted 18 lines

Mention migration in the commit message.

---
 ts-windows-install |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
ts-windows-install +1 -1
index 7740ee6..bdedf2b 100755
@@ -28,7 +28,7 @@ our $ho= selecthost($whhost);
 
 our $gho;
 
-our $ram_mb=    512;
+our $ram_mb=   1700;
 our $disk_mb= 10000;
 
 our $guesthost= 'win.guest.osstest';
#7 lore raw

Re: [OSSTEST PATCH v2] ts-windows-install: Bump RAM from 512M to 1536M

Ian Campbell writes ("Re: [OSSTEST PATCH v2] ts-windows-install: Bump RAM from 512M to 1536M"):

Quoted 4 lines

The patch still says 1700..

A patch which said 1536 would be:

Earlier today I was very sleepy and slow-moving. Now I have had coffee. I'm not sure this is an improvement.

Thanks,
Ian.