xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: "James Harper" <james.harper@bendigoit.com.au>
To: MaoXiaoyun <tinnycloud@hotmail.com>,
	xen devel <xen-devel@lists.xensource.com>
Cc: george.dunlap@eu.citrix.com
Subject: RE: RE: blue screen in windows balloon driver
Date: Sun, 27 Feb 2011 22:25:28 +1100	[thread overview]
Message-ID: <AEC6C66638C05B468B556EA548C1A77D01C559AC@trantor> (raw)
In-Reply-To: <BLU157-w6407B20CA375D42DAB1348DADC0@phx.gbl>

> Thanks James.
> 
> I think it is GPLPV. The driver is from
http://xenbits.xen.org/ext/win-
> pvdrivers.hg
> But, I have done some other things
> 
> 1) Add pod support
> 2) enable a meminfo thread, periodically write VM meminfo into
xenstore
>     We use info of Current Memory, Free memory, and Committed memory,
retrived
> through NativeAPI
> 3) our code is based from changeset 823, attached is the diff of my
current
> code with changset of 853.
> 
> Maybe I need add my code to 853, and test again.
> Thanks.
> 

As per other post, I have just committed some patches and PoD should now
be working properly. I can start a DomU with 4GB of maxmem but only
128MB of populated memory without any problems. This now works because I
do the initial balloon down in DriverEntry, way before xenpci does
anything else. Before it would blow up in DriverEntry. I think I
determine the amount to initially balloon down a little differently from
you too.

It takes a while to balloon down the memory though... I think Windows
tends to delay large allocations or something, because ballooning up
again is pretty much instant.

How often are you writing meminfo stuff into xenstore? Could you do that
in userspace (the interface to xenstore exists and seems to work well
although it's a little tedious)? You would then be able to just run it
as a service and not need to patch GPLPV.

James

  reply	other threads:[~2011-02-27 11:25 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-26 13:01 re:RE: blue screen in windows balloon driver MaoXiaoyun
2011-02-27 11:25 ` James Harper [this message]
2011-02-28  4:33   ` MaoXiaoyun
     [not found]     ` <BLU157-w3689F78415A43CC5997DD7DADE0@phx.gbl>
2011-02-28  8:29       ` MaoXiaoyun
2011-02-28 11:45         ` James Harper
2011-02-28 23:45         ` James Harper
2011-03-01  2:37           ` MaoXiaoyun
2011-03-01  5:01             ` James Harper
2011-03-01  5:28               ` MaoXiaoyun
     [not found]                 ` <AEC6C66638C05B468B556EA548C1A77D01C55AC7@trantor>
     [not found]                   ` <BLU157-w655070D9CFE092D78C011DDAC10@phx.gbl>
     [not found]                     ` <AEC6C66638C05B468B556EA548C1A77D01C55ACA@trantor>
2011-03-01 12:34                       ` MaoXiaoyun
2011-03-01 12:35                         ` James Harper
2011-03-01 12:48                           ` James Harper
2011-03-02  3:01                             ` MaoXiaoyun
2011-03-02  6:07                               ` James Harper
2011-03-02  6:44                                 ` MaoXiaoyun
2011-03-02  6:28                               ` James Harper
2011-03-02  9:23                                 ` MaoXiaoyun
2011-03-02 11:37                                   ` James Harper
     [not found]                                 ` <BLU157-w3311FE380E5D57DD810827DAC00@phx.gbl>
     [not found]                                   ` <AEC6C66638C05B468B556EA548C1A77D01C55B44@trantor>
     [not found]                                     ` <BLU157-w564C179CAAF26EC5D7559DAC00@phx.gbl>
     [not found]                                       ` <AEC6C66638C05B468B556EA548C, , , , , , 1A77D01, C, 5, 5, B, 4, 6@trantor>
     [not found]                                         ` <BLU157-w446CEE35E592FE12EF0180DAC30@phx.gbl>
     [not found]                                           ` <AEC6C66638C05B468B556EA548C1A77D01C55B88@trantor>
     [not found]                                             ` <BLU157-w5382FC5FCC26C6EE8EC18BDAC30@phx.gbl>
     [not found]                                               ` <AEC6C66638C05B468B556EA548C1A77D01C55BB3@trantor>
     [not found]                                                 ` <BLU157-w62FFC7240FD65345A0B3A8DAC30@phx.gbl>
     [not found]                                                   ` <AEC6C66638C05B468B556EA548C1A77D01C55BB7@trantor>
     [not found]                                                     ` <BLU157-w30368B861A4BFFF8A8DB9DDAC30@phx.gbl>
     [not found]                                                       ` <AEC6C66638C05B468B556EA548C1A77D01C55BBA@trantor>
     [not found]                                                         ` <BLU157-w28F0FE7DA9D129E9003136DAC30@phx.gbl>
     [not found]                                                           ` <AEC6C66638C05B468B556EA548C1A77D01C55BBD@trantor>
     [not found]                                                             ` <BLU157-w826F2EDB9C1A7077BA524DAC30@phx.gbl>
     [not found]                                                               ` <019001cbdd41$1ccfbc20$566f3460$@harper@bendigoit.com.au>
2011-03-14  2:24                                                                 ` MaoXiaoyun
2011-03-14  2:57                                                                   ` MaoXiaoyun
2011-03-14  3:52                                                                   ` James Harper
2011-03-14  5:08                                                                   ` James Harper
2011-03-14  5:19                                                                     ` MaoXiaoyun
2011-03-01  7:14               ` MaoXiaoyun
2011-03-01  9:36                 ` James Harper
     [not found]                 ` <AEC6C66638C05B468B556EA548C1A77D01C55AC5@trantor>
2011-03-01  9:51                   ` MaoXiaoyun
2011-03-01  9:54                     ` James Harper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AEC6C66638C05B468B556EA548C1A77D01C559AC@trantor \
    --to=james.harper@bendigoit.com.au \
    --cc=george.dunlap@eu.citrix.com \
    --cc=tinnycloud@hotmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).