No more Out Of Memory!

View: New views
8 Messages — Rating Filter:   Alert me  

No more Out Of Memory!

by Giusanny :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Thanks to Red5 and thanks to 2 weeks of tuning, we had success streaming LIVE at 350 clients (almost 100 Mbps)!

 

Giuseppe

 

 


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: No more Out Of Memory!

by Walter Tak :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Very nice. Glad we could help or that you decided to give it a go a put some effort in it.
 
Could you reply to this thread and write a few tips how you improved the amount of streams in your case so new users can learn from it ?
 
Walter
----- Original Message -----
Sent: Monday, 26 October 2009 10:26
Subject: [Red5] No more Out Of Memory!

Thanks to Red5 and thanks to 2 weeks of tuning, we had success streaming LIVE at 350 clients (almost 100 Mbps)!

 

Giuseppe

 

 


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

R: No more Out Of Memory!

by Giusanny :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Yes I can!

 

My server had Redd5 0.9.RC1, 2GB Ram and only a Celeron processor...we have JAVA so we need more RAM than processor capabilities…

1. Huge pages using 1,5GB

2. than use Hugepages and allocate 1,4GB to the red5 server modifying red5-highperf.sh like this

JAVA_OPTS=-Xrs -Xms1450M -Xmx1450M -Xss128K -XX:NewSize=256m -XX:+UseLargePages -XX:SurvivorRatio=16 -XX:MinHeapFreeRatio=20 -XX:+AggressiveHeap -XX:+ExplicitGCInvokesConcurrent -Dsun.rmi.dgc.client.gcInterval=990000 -Dsun.rmi.dgc.server.gcInterval=990000 -Djava.net.preferIPv4Stack=true -Xverify:none

3. I had 100Mbps bandwidth limit so I limited the client connections to 390 because a single stream was 256Kbps

 

Giuseppe

Da: red5-bounces@... [mailto:red5-bounces@...] Per conto di Walter Tak
Inviato: lunedì 26 ottobre 2009 13.57
A: red5@...
Oggetto: Re: [Red5] No more Out Of Memory!

 

Very nice. Glad we could help or that you decided to give it a go a put some effort in it.

 

Could you reply to this thread and write a few tips how you improved the amount of streams in your case so new users can learn from it ?

 

Walter

----- Original Message -----

From: giusanny@...

To: red5@...

Sent: Monday, 26 October 2009 10:26

Subject: [Red5] No more Out Of Memory!

 

Thanks to Red5 and thanks to 2 weeks of tuning, we had success streaming LIVE at 350 clients (almost 100 Mbps)!

 

Giuseppe

 

 


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: No more Out Of Memory!

by Giusanny :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Yes I can!

 

My server had Redd5 0.9.RC1, 2GB Ram and only a Celeron processor...we have JAVA so we need more RAM than processor capabilities…

1. Huge pages using 1,5GB

2. than use Hugepages and allocate 1,4GB to the red5 server modifying red5-highperf.sh like this

JAVA_OPTS=-Xrs -Xms1450M -Xmx1450M -Xss128K -XX:NewSize=256m -XX:+UseLargePages -XX:SurvivorRatio=16 -XX:MinHeapFreeRatio=20 -XX:+AggressiveHeap -XX:+ExplicitGCInvokesConcurrent -Dsun.rmi.dgc.client.gcInterval=990000 -Dsun.rmi.dgc.server.gcInterval=990000 -Djava.net.preferIPv4Stack=true -Xverify:none

3. I had 100Mbps bandwidth limit so I limited the client connections to 390 because a single stream was 256Kbps

 

Giuseppe

 

 

Da: red5-bounces@... [mailto:red5-bounces@...] Per conto di Walter Tak
Inviato: lunedì 26 ottobre 2009 13.57
A: red5@...
Oggetto: Re: [Red5] No more Out Of Memory!

 

Very nice. Glad we could help or that you decided to give it a go a put some effort in it.

 

Could you reply to this thread and write a few tips how you improved the amount of streams in your case so new users can learn from it ?

 

Walter

----- Original Message -----

From: giusanny@...

To: red5@...

Sent: Monday, 26 October 2009 10:26

Subject: [Red5] No more Out Of Memory!

 

Thanks to Red5 and thanks to 2 weeks of tuning, we had success streaming LIVE at 350 clients (almost 100 Mbps)!

 

Giuseppe

 

 


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: No more Out Of Memory!

by Eiríkur Sveinn Hrafnsson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

What JVM are you using? With Sun Java SDK 1.6 having -Xmx option and -XX:+AggressiveHeap causes Red5 to die on startup, at least I had to remove -XX:+AggressiveHeap to get it to start.

cheers
Eiki

On Oct 26, 2009, at 2:57 PM, Giusanny wrote:

Yes I can!
 
My server had Redd5 0.9.RC1, 2GB Ram and only a Celeron processor...we have JAVA so we need more RAM than processor capabilities…
1. Huge pages using 1,5GB
2. than use Hugepages and allocate 1,4GB to the red5 server modifying red5-highperf.sh like this
JAVA_OPTS=-Xrs -Xms1450M -Xmx1450M -Xss128K -XX:NewSize=256m -XX:+UseLargePages -XX:SurvivorRatio=16 -XX:MinHeapFreeRatio=20 -XX:+AggressiveHeap -XX:+ExplicitGCInvokesConcurrent -Dsun.rmi.dgc.client.gcInterval=990000 -Dsun.rmi.dgc.server.gcInterval=990000 -Djava.net.preferIPv4Stack=true -Xverify:none
3. I had 100Mbps bandwidth limit so I limited the client connections to 390 because a single stream was 256Kbps
 
Giuseppe
 
 
Da: red5-bounces@... [mailto:red5-bounces@...] Per conto di Walter Tak
Inviato: lunedì 26 ottobre 2009 13.57
A: red5@...
Oggetto: Re: [Red5] No more Out Of Memory!
 
Very nice. Glad we could help or that you decided to give it a go a put some effort in it.
 
Could you reply to this thread and write a few tips how you improved the amount of streams in your case so new users can learn from it ?
 
Walter
----- Original Message -----
Sent: Monday, 26 October 2009 10:26
Subject: [Red5] No more Out Of Memory!
 
Thanks to Red5 and thanks to 2 weeks of tuning, we had success streaming LIVE at 350 clients (almost 100 Mbps)!
 
Giuseppe
 
 

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: No more Out Of Memory!

by Giusanny :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

But I use jdk1.6 too!

 

Da: red5-bounces@... [mailto:red5-bounces@...] Per conto di Eiríkur Sveinn Hrafnsson
Inviato: lunedì 26 ottobre 2009 21.27
A: red5@...
Oggetto: Re: [Red5] No more Out Of Memory!

 

Hi,

 

What JVM are you using? With Sun Java SDK 1.6 having -Xmx option and -XX:+AggressiveHeap causes Red5 to die on startup, at least I had to remove -XX:+AggressiveHeap to get it to start.

 

cheers

Eiki

 

On Oct 26, 2009, at 2:57 PM, Giusanny wrote:



Yes I can!

 

My server had Redd5 0.9.RC1, 2GB Ram and only a Celeron processor...we have JAVA so we need more RAM than processor capabilities…

1. Huge pages using 1,5GB

2. than use Hugepages and allocate 1,4GB to the red5 server modifying red5-highperf.sh like this

JAVA_OPTS=-Xrs -Xms1450M -Xmx1450M -Xss128K -XX:NewSize=256m -XX:+UseLargePages -XX:SurvivorRatio=16 -XX:MinHeapFreeRatio=20 -XX:+AggressiveHeap -XX:+ExplicitGCInvokesConcurrent -Dsun.rmi.dgc.client.gcInterval=990000 -Dsun.rmi.dgc.server.gcInterval=990000 -Djava.net.preferIPv4Stack=true -Xverify:none

3. I had 100Mbps bandwidth limit so I limited the client connections to 390 because a single stream was 256Kbps

 

Giuseppe

 

 

Da: red5-bounces@... [mailto:red5-bounces@...] Per conto di Walter Tak
Inviato: lunedì 26 ottobre 2009 13.57
A: red5@...
Oggetto: Re: [Red5] No more Out Of Memory!

 

Very nice. Glad we could help or that you decided to give it a go a put some effort in it.

 

Could you reply to this thread and write a few tips how you improved the amount of streams in your case so new users can learn from it ?

 

Walter

----- Original Message -----

From: giusanny@...

To: red5@...

Sent: Monday, 26 October 2009 10:26

Subject: [Red5] No more Out Of Memory!

 

Thanks to Red5 and thanks to 2 weeks of tuning, we had success streaming LIVE at 350 clients (almost 100 Mbps)!

 

Giuseppe

 

 


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

 


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: No more Out Of Memory!

by Eiríkur Sveinn Hrafnsson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Yeah but are you using Sun or OpenJDK ?
Do a
java -version



On Oct 27, 2009, at 10:01 AM, Giusanny wrote:

But I use jdk1.6 too!
 
Da: red5-bounces@... [mailto:red5-bounces@...] Per conto di Eiríkur Sveinn Hrafnsson
Inviato: lunedì 26 ottobre 2009 21.27
A: red5@...
Oggetto: Re: [Red5] No more Out Of Memory!
 
Hi,
 
What JVM are you using? With Sun Java SDK 1.6 having -Xmx option and -XX:+AggressiveHeap causes Red5 to die on startup, at least I had to remove -XX:+AggressiveHeap to get it to start.
 
cheers
Eiki
 
On Oct 26, 2009, at 2:57 PM, Giusanny wrote:


Yes I can!
 
My server had Redd5 0.9.RC1, 2GB Ram and only a Celeron processor...we have JAVA so we need more RAM than processor capabilities…
1. Huge pages using 1,5GB
2. than use Hugepages and allocate 1,4GB to the red5 server modifying red5-highperf.sh like this
JAVA_OPTS=-Xrs -Xms1450M -Xmx1450M -Xss128K -XX:NewSize=256m -XX:+UseLargePages -XX:SurvivorRatio=16 -XX:MinHeapFreeRatio=20 -XX:+AggressiveHeap -XX:+ExplicitGCInvokesConcurrent -Dsun.rmi.dgc.client.gcInterval=990000 -Dsun.rmi.dgc.server.gcInterval=990000 -Djava.net.preferIPv4Stack=true -Xverify:none
3. I had 100Mbps bandwidth limit so I limited the client connections to 390 because a single stream was 256Kbps
 
Giuseppe
 
 
Da: red5-bounces@... [mailto:red5-bounces@...] Per conto di Walter Tak
Inviato: lunedì 26 ottobre 2009 13.57
A: red5@...
Oggetto: Re: [Red5] No more Out Of Memory!
 
Very nice. Glad we could help or that you decided to give it a go a put some effort in it.
 
Could you reply to this thread and write a few tips how you improved the amount of streams in your case so new users can learn from it ?
 
Walter
----- Original Message -----
Sent: Monday, 26 October 2009 10:26
Subject: [Red5] No more Out Of Memory!
 
Thanks to Red5 and thanks to 2 weeks of tuning, we had success streaming LIVE at 350 clients (almost 100 Mbps)!
 
Giuseppe
 
 

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org
 
_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

Re: No more Out Of Memory!

by Giusanny :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

sun

 

Da: red5-bounces@... [mailto:red5-bounces@...] Per conto di Eiríkur Sveinn Hrafnsson
Inviato: giovedì 5 novembre 2009 10.43
A: red5@...
Oggetto: Re: [Red5] No more Out Of Memory!

 

Yeah but are you using Sun or OpenJDK ?

Do a

java -version

 

 

 

On Oct 27, 2009, at 10:01 AM, Giusanny wrote:



But I use jdk1.6 too!

 

Da: red5-bounces@... [mailto:red5-bounces@...] Per conto di Eiríkur Sveinn Hrafnsson
Inviato: lunedì 26 ottobre 2009 21.27
A: red5@...
Oggetto: Re: [Red5] No more Out Of Memory!

 

Hi,

 

What JVM are you using? With Sun Java SDK 1.6 having -Xmx option and -XX:+AggressiveHeap causes Red5 to die on startup, at least I had to remove -XX:+AggressiveHeap to get it to start.

 

cheers

Eiki

 

On Oct 26, 2009, at 2:57 PM, Giusanny wrote:




Yes I can!

 

My server had Redd5 0.9.RC1, 2GB Ram and only a Celeron processor...we have JAVA so we need more RAM than processor capabilities…

1. Huge pages using 1,5GB

2. than use Hugepages and allocate 1,4GB to the red5 server modifying red5-highperf.sh like this

JAVA_OPTS=-Xrs -Xms1450M -Xmx1450M -Xss128K -XX:NewSize=256m -XX:+UseLargePages -XX:SurvivorRatio=16 -XX:MinHeapFreeRatio=20 -XX:+AggressiveHeap -XX:+ExplicitGCInvokesConcurrent -Dsun.rmi.dgc.client.gcInterval=990000 -Dsun.rmi.dgc.server.gcInterval=990000 -Djava.net.preferIPv4Stack=true -Xverify:none

3. I had 100Mbps bandwidth limit so I limited the client connections to 390 because a single stream was 256Kbps

 

Giuseppe

 

 

Da: red5-bounces@... [mailto:red5-bounces@...] Per conto di Walter Tak
Inviato: lunedì 26 ottobre 2009 13.57
A: red5@...
Oggetto: Re: [Red5] No more Out Of Memory!

 

Very nice. Glad we could help or that you decided to give it a go a put some effort in it.

 

Could you reply to this thread and write a few tips how you improved the amount of streams in your case so new users can learn from it ?

 

Walter

----- Original Message -----

From: giusanny@...

To: red5@...

Sent: Monday, 26 October 2009 10:26

Subject: [Red5] No more Out Of Memory!

 

Thanks to Red5 and thanks to 2 weeks of tuning, we had success streaming LIVE at 350 clients (almost 100 Mbps)!

 

Giuseppe

 

 


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

 

_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org

 


_______________________________________________
Red5 mailing list
Red5@...
http://osflash.org/mailman/listinfo/red5_osflash.org