qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* network buffering in fault tolerance
@ 2020-09-30  5:12 Shivam Mehra
  2020-10-15  7:31 ` Jason Wang
  0 siblings, 1 reply; 2+ messages in thread
From: Shivam Mehra @ 2020-09-30  5:12 UTC (permalink / raw)
  To: qemu-devel, qemu-discuss

[-- Attachment #1: Type: text/plain, Size: 990 bytes --]

I came across this documentation with source code for providing network
buffering to applications
https://www.nfradead.org/~tgr/libnl/doc/api/route_2qdisc_2plug_8c_source.html
<https://www.infradead.org/~tgr/libnl/doc/api/route_2qdisc_2plug_8c_source.html>.
This network-buffering helps output-commit problem when providing fault
tolerance to virtual machines. The output is buffered until an
acknowledgement arrives from the backup VM and then released to the
external world. So that backup and primary VMs seem consistent externally.
Initially developed for XEN VMM to provide fault tolerance to VMs and I
think it's now available for QEMU too.

Where does the script reside which does network-buffering for checkpoints?
and what are the commands to make this happen?

I want to do this network-buffering for packets originating from an
application. Is it possible to do it in the same way as above? Does it do
any damage to the host kernel? Can I get  a simple working example for this?

[-- Attachment #2: Type: text/html, Size: 2764 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: network buffering in fault tolerance
  2020-09-30  5:12 network buffering in fault tolerance Shivam Mehra
@ 2020-10-15  7:31 ` Jason Wang
  0 siblings, 0 replies; 2+ messages in thread
From: Jason Wang @ 2020-10-15  7:31 UTC (permalink / raw)
  To: Shivam Mehra, qemu-devel, qemu-discuss, Zhang, Chen


On 2020/9/30 下午1:12, Shivam Mehra wrote:
>
> I came across this documentation with source code for providing 
> network buffering to applications 
> https://www.nfradead.org/~tgr/libnl/doc/api/route_2qdisc_2plug_8c_source.html 
> <https://www.infradead.org/~tgr/libnl/doc/api/route_2qdisc_2plug_8c_source.html>. 
> This network-buffering helps output-commit problem when providing 
> fault tolerance to virtual machines. The output is buffered until an 
> acknowledgement arrives from the backup VM and then released to the 
> external world. So that backup and primary VMs seem consistent 
> externally. Initially developed for XEN VMM to provide fault tolerance 
> to VMs and I think it's now available for |QEMU| too.
>
> Where does the script reside which does network-buffering for 
> checkpoints? and what are the commands to make this happen?
>
> I want to do this network-buffering for packets originating from an 
> application. Is it possible to do it in the same way as above? Does it 
> do any damage to the host kernel? Can I get  a simple working example 
> for this?
>

Hi Shivam:

I haven't gone through the qdisc you mentioned, but it depends on a 
specific host network setup to work if I understand correctly.

Qemu support a native HA (COLO) which has a buffer filter.

Cc Chen for more information.

Thanks



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-15  7:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-30  5:12 network buffering in fault tolerance Shivam Mehra
2020-10-15  7:31 ` Jason Wang

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).