Disk Write Speed

xhitm3n

New Member
Nov 10, 2015
16
0
1
Hi all,
i Am transferring 200GB to my file server which is a lxc Container with ubuntu 15.04 and samba server, im uploading to file server from the explorer, i get Speeds from 40mb/s to 120mb/s but is always going up and down, sometimes it stabilizes at 70mb/s then starts up and down again, the container is using 1CPU, it goes max at 40% so no need to increase cores, at idle it uses 80mb Ram but at writing it uses full 512mb, and its using 20mb of swap, should increase RAM for the speeds stabilize? the disk is mounted in the host, and is ext4 then i pass it to the container!
thanks in advance!
 
hi
here is a disk benchmark
Code:
time sh -c "dd if=/dev/zero of=ddfile bs=8k count=250000 && sync"; rm ddfile250000+0 records in
250000+0 records out
2048000000 bytes (2.0 GB) copied, 17.0729 s, 120 MB/s


real    0m22.017s
user    0m0.032s
sys     0m1.940s

and here is the Container .conf
mp0 and mp1 are the mounts of the disk

Code:
arch: amd64
cpulimit: 1
cpuunits: 1024
hostname: xhitFile
memory: 512
mp0: /mnt/sdb1,mp=/mnt/sdb1
mp1: /mnt/sdb1,mp=/mnt/sdb1
net0: bridge=vmbr1,hwaddr=66:61:64:31:35:65,ip=dhcp,name=eth1,type=veth
onboot: 1
ostype: ubuntu
rootfs: local:101/vm-101-disk-1.raw,size=10G
startup: up=10
swap: 512



--EDIT---
OK for my understanding, the problem here is really the RAM, i would need maybe some SSD for cache, because i upgraded to 1GB ram and it full utilize it, when it reaches 1GB it starts slowing down, isnt a problem though, thanks anyway!
 
Last edited:
Are you transfering big files or also small ones? Naturally, a lot of small files is much slower than a bunch of big ones even if the total amount of GBs is equal.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!