Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Configure gentoo for streaming server scenario
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
g0ng
n00b
n00b


Joined: 21 Feb 2012
Posts: 2

PostPosted: Tue Feb 21, 2012 7:22 am    Post subject: Configure gentoo for streaming server scenario Reply with quote

Hi,

I can't find properly forum section for my question so I'm sorry if it's not right section.

We want to prepare streaming server. We should use wowza as streaming server solution and gentoo linux with Oracle's Java 1.7+ to handle wowza.

We will handle thousands connections by HLS (apple)/HDS (flash) protocols and our bandwidth around 1-10Gbps.
Our servers are with six-core or quad core latest processors and with 16 GB ram.

So I want to ask about suggestions to configuring gentoo (kernel and others) to handle this connections and working properly at this scenario. Maybe someone have suggestions to properly configure java machine.
Yes, my question is very inaccurate but I'm only try to get some experience from others. I think that it's not sufficient to get my server works properly and live by this life only if I'm set:

1) java heap size around 10Gb
2) ulimit -n 20000

(based on this topic http://www.wowza.com/forums/content.php?5-general-tuning)

Thanks in advance.
Back to top
View user's profile Send private message
g0ng
n00b
n00b


Joined: 21 Feb 2012
Posts: 2

PostPosted: Mon Feb 27, 2012 10:31 am    Post subject: Reply with quote

Any?
Back to top
View user's profile Send private message
nativemad
Developer
Developer


Joined: 30 Aug 2004
Posts: 918
Location: Switzerland

PostPosted: Mon Feb 27, 2012 11:44 am    Post subject: Reply with quote

Hi,

i would recommend using gcc 4.6 with march=native for getting the latest optimizations. (Don't know how much difference it actually makes with a binary java package on top, but anyway a good choice imho :wink: )
I've had the best experience with a kernel timer frequency of 300 hz (under Processor type and features) for streaming a pal dvb signal to around 3 clients over tvheadend.

It's quite hard to tell what to tweak if you don't know the application... but probably the USE=threads could be a good advice... :wink:

Hope that helps a bit...
Cheers
_________________
Power to the people!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum