Skip to contentSkip to conversation

Very strange behavior between balloon driver and network driver (Arndale)

DISCUSSION Jaeyong Yoo 2 participants 2 messages May 29, 2013

lore
Share & tools
lore
#0 lore raw
Quoted 2 lines

This needs to be a Xen argument, not a dom0 kernel argument.

Ah! got it.

Quoted 7 lines

That said I thought that privcmd mmapbatch put back the original page, perhaps I am mistaken here though.

Quoted 3 lines

- create domU with config autoballoon="off"

You put this in /etc/xen/xl.conf, not the guest config, correct?

Yes.

I guess the current work-around solution would be commenting out the following two lines, very nasty and introduces memory leak though. Memory leak gives more time than network error for testing xen on Arndale :)

In function drivers/xen/balloon.c

           //if (current_credit())
          //      schedule_delayed_work(&balloon_worker, 0);

Jaeyong

#1 lore raw
Quoted 10 lines · Jaeyong Yoo
Quoted 2 lines

This needs to be a Xen argument, not a dom0 kernel argument.

Ah! got it.

Quoted 6 lines

That said I thought that privcmd mmapbatch put back the original page, perhaps I am mistaken here though.

Quoted 1 line

- create domU with config autoballoon="off"

Quoted 7 lines
Quoted 1 line
Quoted 1 line

You put this in /etc/xen/xl.conf, not the guest config, correct?

Yes.

I guess the current work-around solution would be commenting out the following two lines, very nasty and introduces memory leak though. Memory leak gives more time than network error for testing xen on Arndale :)

The kernel should reuse ballooned out pages where possible rather than creating more so the leak is probably limited. Not ideal though.

I suspect the real answer is that the 1:1 workaround needs to be cleverer when dom0 decreases and increases its reservation...

Quoted 6 lines

In function drivers/xen/balloon.c

           //if (current_credit())
          //      schedule_delayed_work(&balloon_worker, 0);

Jaeyong