lets say they are all 1080p on local lan.
To what should I limit the number (if at all) on this server spec:
Ubuntu running on
32 X Intel® Xeon® CPU E5-2690 0 @ 2.90GHz
100G RAM
Lots of variables make this a difficult one to answer. But the general rule of thumb is 2000 passmark points per 1080p/10Mbps transcode.
support.plex.tv/hc/en-us/articles/201774043-What-kind-of-CPU-do-I-need-for-my-Server-
Your CPU has a passmark score of 14245 -so in theory 7 transcodes.
cpubenchmark.net/cpu.php?cpu=Intel+Xeon+E5-2690+%40+2.90GHz
However, if some of your clients are direct playing (which I would hope on a local lan, most would be capable of doing) you will probably hit a bottleneck on disk IO before CPU.
its 7 clients per CPU.
I have 32 cores of that kind. So its ~227 clients?!
DISK I/O might be an issue yeah, need to spread resources between a lot of 1G NAS devices to avoid that I guess.
Or get a RAID5 NAS
Better connect all 4 Network Cards and bind them as well.
Real Goal is to support about 20 simultaneous users.
@Boazbarda said:
its 7 clients per CPU.
I have 32 cores of that kind. So its ~227 clients?!DISK I/O might be an issue yeah, need to spread resources between a lot of 1G NAS devices to avoid that I guess.
Or get a RAID5 NASBetter connect all 4 Network Cards and bind them as well.
Real Goal is to support about 20 simultaneous users.
um, no.
7 per CPU, not per core. You have 2 CPU’s.
I have 32 cores.
@Boazbarda said:
I have 32 cores.
yes, and it takes 16 of those cores, which reside on 1 CPU to get the 14245 passmark score. Assuming it’s linear, which is isn’t, 32 cores will get you a passmark of round 28,000, which givens you 14 x 1080p simultaneous transcodes, not ~227.
So I guess I have 4 cpus since it’s 8 cores per cup. Means theoretical I
can support the need with cpu and ram. Network and io is to be tested in
this scenario.
an E5-2690 is a 8 core, 16 thread CPU - you’ll have 2
you are correct
$ cat /proc/cpuinfo | grep physical | grep id | sort | uniq | wc -l
2
well, I guess it will be ok but not perfect.
on one hand not all will watch 1080p all the time and on the other one soon some will watch 4K
. on 4K I will probably fail above 4 
Every transcode is a stream but not every stream is a transcode. A Xeon workstation might well exhaust its available network bandwidth before CPU if there’s no transcoding involved.