From: Rahul Singh Subject: Remus' Network Buffering Date: Thu, 19 Apr 2012 12:15:04 -0400 Message-ID: Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/mixed; boundary="===============1277151006610879404==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org --===============1277151006610879404== Content-Type: multipart/alternative; boundary=Apple-Mail-8-62619066 --Apple-Mail-8-62619066 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi, I am trying to understand and change the network buffering that is being = used by Remus, the HA solution present in Xen. =46rom what i understood = from reading the code, Remus calls the postsuspend method of the = BufferedNIC after it suspends the domain that sends TC_PLUG_CHECKPOINT = message and start the buffering and then calls the commit method of = BufferedNIC after it gets the acknowledgement that sends the = TC_PLUG_RELEASE message and releases the buffered packets. I have the = following doubts 1) How does remus ensure that the packets gets buffered for an entire = epoch ? 2) If i comment out the lines in the "postsuspend" and "commit" lines of = the BufferedNIC class that send the TC_PLUG_CHECKPOINT and = TC_PLUG_RELEASE, i see that all the network packets are being buffered = and i cannot ping the Remus-protected VM at all. Where is the packet = buffering happen if i comment out these 2 lines ? Thanking you, Rahul.= --Apple-Mail-8-62619066 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii

Hi,
I am trying to understand and change the network buffering that is being used by Remus, the HA solution present in Xen. From what i understood from reading the code, Remus calls the postsuspend method of the BufferedNIC after it suspends the domain that sends TC_PLUG_CHECKPOINT message and start the buffering and then calls the commit method of BufferedNIC after it gets the acknowledgement that sends the TC_PLUG_RELEASE message and releases the buffered packets. I have the following doubts
1) How does remus ensure that the packets gets buffered for an entire epoch ?
2) If i comment out the lines in the "postsuspend" and "commit" lines of the BufferedNIC class that send the TC_PLUG_CHECKPOINT and TC_PLUG_RELEASE, i see that all the network packets are being buffered and i cannot ping the Remus-protected VM at all. Where is the packet buffering happen if i comment out these 2 lines ?

Thanking you,
Rahul.

--Apple-Mail-8-62619066-- --===============1277151006610879404== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============1277151006610879404==--