From: Federico Fanton <federico@panizzolo.it>
To: kvm@vger.kernel.org
Subject: KVM and Hylafax
Date: Thu, 29 Mar 2012 10:15:01 +0200 [thread overview]
Message-ID: <4F741A05.7050900@panizzolo.it> (raw)
Hi everyone!
We have an Hylafax 5.2.5 CentOS 5 installation hosted inside a Xen
virtual machine. It works quite well, but now I'm in the process of
upgrading/migrating it to a KVM virtual machine running Ubuntu 10.04.
The problem I'm having is that - while receiving works fine - sending
faxes is extremely unreliable, I get lots of "No response to MPS
repeated 3 tries", or "Failure to transmit clean ECM image data", just
what would happen if the phone line was noisy.
Since the line, modem and configuration files I'm using are the same as
before, I thought that it could be a KVM scheduling issue, but even
setting cpu_shares to 10240 instead of 1024 doesn't change a thing...
I've tried asking on the Hylafax ML, and they say that
"generally speaking I'm very skeptical of real-time performance for
virtualized machines and especially virtualized serial hardware.
Because fax is time-sensitive it's certainly possible for the virtual
machine to not be attentive-enough to it."
Are there any success stories on running Hylafax on KVM? What could I
try to make it more "attentive"?
Here's how I'm mapping the serial port (where the modem is connected):
<serial type='dev'>
<source path='/dev/ttyS0'/>
<target port='0'/>
</serial>
And how I tuned the VM:
<cputune>
<shares>10240</shares>
<period>100000</period>
<quota>-1</quota>
</cputune>
Many thanks for your time!
next reply other threads:[~2012-03-29 8:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-29 8:15 Federico Fanton [this message]
2012-03-29 20:57 ` KVM and Hylafax Michael
2012-03-30 7:37 ` Federico Fanton
2012-04-05 7:33 ` Federico Fanton
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=4F741A05.7050900@panizzolo.it \
--to=federico@panizzolo.it \
--cc=kvm@vger.kernel.org \
/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