Samba-Server Question

djonny

Member
Sep 13, 2010
6
0
21
Hello all,

First sorry, for my bad english

I'm new on the sector virtualization.

I've install ProxMox on my Server and I have 3 VM's 1 OpenVZ and 2 KVM

My Problem is that I use one of the KVM as a Fileserver VM with Samba Server.
The Problem is that I get on a Gbit Network only 10Mb/s to read and the really crazy thing 25Mb/s to write?

normally read is faster than write. Without Proxmox I have a transferrate of 70Mb/s read and 40 Mb/s write

Is there any difference in Speed if I use OpenVZ or KVM?
Or is this a bad Samba Konfiguration?

I hope you understand what I mean, if you need more details please ask me.
tia djonny

edit: The Fileserver System is Ubuntu 10.04.1
and ethtool shows me that eth0 is only with 100mbit
 
Last edited:
Hello all,

First sorry, for my bad english

I'm new on the sector virtualization.

I've install ProxMox on my Server and I have 3 VM's 1 OpenVZ and 2 KVM

My Problem is that I use one of the KVM as a Fileserver VM with Samba Server.
The Problem is that I get on a Gbit Network only 10Mb/s to read and the really crazy thing 25Mb/s to write?

do you use virtio network card and virtio disk emulation for this KVM guest?


normally read is faster than write. Without Proxmox I have a transferrate of 70Mb/s read and 40 Mb/s write

Is there any difference in Speed if I use OpenVZ or KVM?
Or is this a bad Samba Konfiguration?

virtualizing file servers are not the best idea if you want full performance. think of installing samba on the Proxmox VE host.


I hope you understand what I mean, if you need more details please ask me.
tia djonny

edit: The Fileserver System is Ubuntu 10.04.1
and ethtool shows me that eth0 is only with 100mbit
 
thanks for the quick answer

I need vmbr0 Network card, the Hard Disk is added via qm set <vmid> -ide# /dev/sdb
and then mounted in ubuntu

I need this KVM for Fileserver and OpenVPN.
Can I install this 2 services on the Host System?

And can I mount the Hard Disk (This is a Raid 5 Array on a Raid-Controller) on more than one vm?

tia djonny
 
thanks for the quick answer

I need vmbr0 Network card,
I am talking about the emulated nic, not the host network. see http://pve.proxmox.com/wiki/Hardware_setup_for_KVM_guests_(Video)

the Hard Disk is added via qm set <vmid> -ide# /dev/sdb
and then mounted in ubuntu

you added it as ide, try virtio.

I need this KVM for Fileserver and OpenVPN.
Can I install this 2 services on the Host System?

yes.

And can I mount the Hard Disk (This is a Raid 5 Array on a Raid-Controller) on more than one vm?

tia djonny

not really a recommend solutions, what do you want to achieve?
 
the emulated nic is a rtl8139
how I can delete this as ide? that I can add the device as virtio?
tia djonny
 
watch the video!

for the nic, take virtio instead of rtl

for the disk, just edit the config file /etc/qemu-server/VMID.conf
and replace 'ideX:' with 'virtio0:'
 
Thanks for all the great answers

now I have Install Samba on the Host System and I have a good performance, a litte bit crazy but better than before, 60Mb/s read and 80Mb/s write (confusing)

later I will try if there is a difference between virtio and ide

thanks to all!!