No swap partition?

Asked by Tim Bordemann

Hi,

can anyone please explain why the default flavors in Openstack don't define a swap partition?

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Ed Leafe
Solved:
Last query:
Last reply:
Revision history for this message
Ed Leafe (ed-leafe) said :
#1

I believe that they were based on the ec2 images, which did not include swap.

Recently a change was merged into trunk to allow for creating a swap disk when creating an image with XenServer: https://code.launchpad.net/~cbehrens/nova/swapdisk/+merge/62549

Revision history for this message
Tim Bordemann (timbo) said :
#2

So, there are no performance or stability issues when using swap partitions?

Revision history for this message
Best Ed Leafe (ed-leafe) said :
#3

I haven't used the swap option yet, so I can't say from personal experience. It was tested and approved, so I would assume that if there were any issues, they would have been found during testing. Of course, your particular usage might be different, so you should probably test that out and let the authors of that branch know if you uncover any such issues.

Revision history for this message
Tim Bordemann (timbo) said :
#4

Thanks Ed Leafe, that solved my question.