Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive

A very nice customer asked me to put a shared mount point in his FusionPBX/FreeSWITCH cluster. Azure offers shared storage through the use of CIFS (aka Samba). I know, its CIFS, and many of you know that this is not the best protocol for sharing. NFS does a better work, but Microsoft doesn't support it.So, Samba it is.

I won't cover how to get that mount point. The Microsoft Azure guidelines for Storage under Linux do that pretty clear. What I am going to share with you is my bonnie++ metrics I did. This way you will know what to expect. These tests were done in an Azure VPS with 2 GB of RAM and running CentOS 7. I don't have further details of the VPS as I don't manage the WEB UI, I just have root access to it.

So, here it is:

/usr/sbin/bonnie++ -d /tmp/mountpoint -u normal-user

Using uid:1000, gid:1000.
Writing a byte at a time...done
Writing intelligently...done
Reading a byte at a time...done
Reading intelligently...done
start 'em...done...done...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
Version 1.96 ------Sequential Output------ --Sequential Input- --Random-
Concurrency 1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP 4G 1238 93 59354 5 36179 2 3587 84 74814 2 310.3 5
Latency 25381us 49976us 401ms 25816us 127ms 237ms
Version 1.96 ------Sequential Create------ --------Random Create-------- -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
16 79 3 28793 9 63 0 76 3 93 0 44 0
Latency 585ms 46897us 210ms 225ms 212ms 241ms

As you see, latency is not great but it is not the worst. Azure storage can be used on warm storage (things that don't need to get right away), but not as hot storage.


blog comments powered by Disqus


Read about IT, Migration, Business, Money, Marketing and other subjects.

Some subjects: FusionPBX, FreeSWITCH, Linux, Security, Canada, Cryptocurrency, Trading.