How many simultaneous clients does it support vernemq or mosquitto on server? - mosquitto

I want to buy a vps with the following specifications:
2 Core (s) 2.4 GHz
8 GB of RAM
Debian 9 x64
and a dedicated server
CPU: Intel Xeon E3-1245v5 - 4 / 8t - 3.5GHz /3.9GHz
RAM: 16GB DDR4 ECC 2133 MHz
Disks: SoftRaid 2x2TB
Debian 9 x64
How many connected clients does each server support with vernemq or mosquitto with QOS 1?

Well, I have solved the doubt, for more than 1000 users you just have to modify the file /etc/init.d/mosquitto
add the following line to the beginning of the file
ulimit -n 20000
where 20000 is the number of connections to support

Related

KVM/Qemu allocated memory not showing in guest

So we have a RHEL 7.6 workstation with 128 gigs of ram. The OS sees all the ram and 80 cors (40 HT)
We have 1 guest with 8 CPUs and 32gigs of ram running RHEL 7.6 workstation as well.
We are trying to create another guest with 64 CPUs and 80 gigs of ram.
We setup the system using virt-manager and PXE boot the system to install the OS.
All this goes without a hitch, but when we log in after the system is build with PXE and do a free -g it only shows 2 gigs instead of 80 gigs.
Any ideas?
Thanks!
Joe
The issue was related to using uefi bios and the OVMF.x86_64 package. Once we went back to a normal bios and no nvram, the issue went away.
Hope this helps someone :).
Joe

Slow Rails 2.2 performance on Linux vs OS X

I'm not sure if this is the right forum to post this as this is not a programming question. But I just started working at a new company which is a Mac shop. I use Linux Mint however and my page requests are rendering almost 2 times slower than on my colleagues' Macs.
Macs
Intel Core i7 # 2.30GHz
16 GB 1600 MHz DDR3
NVIDIA GeForce GT 750M 2048 MB
OS X 10.9.2 (13C64)
Thin web server (v1.4.1 codename Chromeo)
Linux
Intel Core i7-4770 # 3.40GHz
12GB 1600 MHz DDR3
Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller 256MB
Linux Mint 16 (based on Ubuntu 13.10)
Thin web server (v1.4.1 codename Chromeo)
The bottleneck is in the rendering of views. I'm using Mint's out of the box video driver. Here are the times of rendering an example page. This is basically the average performance. My Linux machine is about 2x slower:
Mac: Completed in 1712ms (View: 667, DB: 105)
Linux: Completed in 3102ms (View: 1383, DB: 95)
Any other info I can provide?

What is global memory size of my device?

I have Tesla C2075. I wanted to know global memory size. So I ran deviceQuery SDK sample. It reports me 4GB of global memory but when I run nvidia-smi -q, it reports 6GB of global memory. Why this mismatch occurs? Is some memory specially dedicated for OS?
./deviceQuery reports:
CUDA Device Query (Runtime API) version (CUDART static linking)
Found 1 CUDA Capable device(s)
Device 0: "Tesla C2075"
CUDA Driver Version / Runtime Version 5.0 / 5.0
CUDA Capability Major/Minor version number: 2.0
Total amount of global memory: 4096 MBytes (4294967295 bytes)
nvidia-smi -q output:
Memory Usage
Total : 5375 MB
Used : 39 MB
Free : 5336 MB
You're running 32-bit Linux, so you will only have 4GB of device memory available to your process.
The device still has 6GB, so if you have two processes sharing the device then between them they can occupy the full 6GB, but each process can only use 4GB.

Performance issues Advantage-Database-Server 10.1 - windows 7 client - virtual windows server 2008

I have some performance issues with ADS 10.1 after changing the network.
Let me explain:
Old configuration of the network:
Server
- Server2003R2
- Processor: Intel XEON 5130, 2 GHZ
- 4 GB RAM
- ADS 7.01
Workstation(s)
- Intel 2160, 1,8 Ghz
- 2 GB RAM
New situation
Server:
- Server 2008R2 SP1
- Intel XEON E5530 2,4 Ghz
- 14 GB RAM
- ADS 10.10.0.28
- Runs in virtual environment on ESXi server version 5.0.0
Workstation(s)
- Windows 7
- I3-2120 3.3 ghz
- 8 gb RAM
Our application (built in VO 2.7) is approximately 3 times slower in new configuration.
Has anyone an idea how this is possible?
I already disabled SMB2 on workstations.
Kind regards,
Erik
We just solved a similar issue for one of our clients. It turns out the virtual NIC speed was causing the issue. We had our customer bump the speed to gigabit and now they are working at a reasonable speed.

memory available to 64bit Fedora guest under 32bit XP host running virtualbox

I have successfully installed a 64 bit Fedora 11 guest os using VirtualBox on a host machine (AMD64) running 32 bit Windows XP .
At the moment the host machine has 2 Gb ram installed and I've allocated 1 Gb to the guest, which all works well.
The host machine can hold a maximum of 4 Gb ram, so I was wondering if it's worth buying an extra 2 Gb for it.
I know that 32 bit Windows XP can't use all of the 4 Gb, but can the guest os use any of the ram that the host os can't use?
No, you are limited what the host OS can see. If you open up task manager in the host OS, the guest OS's memory is mapped within there, so having memory that's mapped outside of the host OS is not possible.
That shouldn't discourage you from getting the extra ram, however. If you upgrade to 4 (or 3.5GB) then you'll still have about ~3.2GB of addressable memory to use, which is a substantial increase over 2GB especially if your memory usage is already near 2GB.

Resources