public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* KVM and Hylafax
@ 2012-03-29  8:15 Federico Fanton
  2012-03-29 20:57 ` Michael
  0 siblings, 1 reply; 4+ messages in thread
From: Federico Fanton @ 2012-03-29  8:15 UTC (permalink / raw)
  To: kvm

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!


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

* Re: KVM and Hylafax
  2012-03-29  8:15 KVM and Hylafax Federico Fanton
@ 2012-03-29 20:57 ` Michael
  2012-03-30  7:37   ` Federico Fanton
  2012-04-05  7:33   ` Federico Fanton
  0 siblings, 2 replies; 4+ messages in thread
From: Michael @ 2012-03-29 20:57 UTC (permalink / raw)
  To: Federico Fanton; +Cc: kvm

On Thu, Mar 29, 2012 at 9:15 PM, Federico Fanton <federico@panizzolo.it> wrote:
> 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!
>
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

I've run hylafax under  KVM  in guest without any problems.
( not sure about configuration - since have no longer access to that site )
I think I've been using USB-2-serial adapter. and run kvm without libvirt



-- 
--
Michael

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

* Re: KVM and Hylafax
  2012-03-29 20:57 ` Michael
@ 2012-03-30  7:37   ` Federico Fanton
  2012-04-05  7:33   ` Federico Fanton
  1 sibling, 0 replies; 4+ messages in thread
From: Federico Fanton @ 2012-03-30  7:37 UTC (permalink / raw)
  To: Michael; +Cc: kvm

On 29/03/2012 22:57, Michael wrote:

 > I've run hylafax under  KVM  in guest without any problems.
 > ( not sure about configuration - since have no longer access to that 
site )

Thanks, there's hope then :)

 > I think I've been using USB-2-serial adapter. and run kvm without libvirt

What do you mean, without libvirt? By calling qemu-kvm manually?

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

* Re: KVM and Hylafax
  2012-03-29 20:57 ` Michael
  2012-03-30  7:37   ` Federico Fanton
@ 2012-04-05  7:33   ` Federico Fanton
  1 sibling, 0 replies; 4+ messages in thread
From: Federico Fanton @ 2012-04-05  7:33 UTC (permalink / raw)
  To: kvm

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

For the record, I switched to a CentOS VM instead of an Ubuntu one, and 
now it's working much better

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

end of thread, other threads:[~2012-04-05  7:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-29  8:15 KVM and Hylafax Federico Fanton
2012-03-29 20:57 ` Michael
2012-03-30  7:37   ` Federico Fanton
2012-04-05  7:33   ` Federico Fanton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox