# Help to optimize my Wowza server

**URL:** <https://community.wowza.com/t/help-to-optimize-my-wowza-server/38919>\
**Category:** Wowza Streaming Engine\
**Created:** [July 6, 2012, 10:55am UTC](https://community.wowza.com/t/help-to-optimize-my-wowza-server/38919 "2012-07-06T10:55:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ethan\_Sebban](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@Ethan\_Sebban](https://community.wowza.com/u/Ethan_Sebban)\
**Post date:** [July 6, 2012, 10:55am UTC](https://community.wowza.com/t/help-to-optimize-my-wowza-server/38919/1 "2012-07-06T10:55:56Z")

</div>

Hi,

I want to find the most powerful tuning for my wowza server, and i think it’s right place to ask for it 🙂

So I have a server with these spec :

- Intel® Xeon® E3-1230 (4x 3.2GHz)

- 8 Go DDR3 ECC

- 2 x 1 To SATA2 Raid 0 / Raid 1 HARD

- 1 Gbit/sec

- Debian 64bits

- apache/mysql (for now on this server)

I use this server for Cupertino streaming only and I use mediacache to pull mp3 files from an http server.

I only stream 128kbits mp3 files.

I need the most optimized tuning.

So my questions are :

1 - I only stream mp3 files and HLS protocol support mp3. So how can i tune WowZa to not re-encode these files when streamed (to improve cpu load)?

2 - What JAVA heap size should I set ?

3 - How many connections can I handle at the same time (considering MediaCache and 128kbits mp3) ?

4 - How many stream can I handle at the same time (considering MediaCache and 128kbits mp3) ?

5 - How MediaCache handle input http files ? (it download them enterely before stream OR it stream directly in live ?)

6 - Is there some specials tweaks for tuning Wowza (garbage collection stuff) ?

Thanks you for reading.

Regards,

Ethan

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [July 6, 2012, 12:27pm UTC](https://community.wowza.com/t/help-to-optimize-my-wowza-server/38919/2 "2012-07-06T12:27:39Z")

</div>

Ethan,

This is our all purpose tuning guide:

[https://www.wowza.com/docs/how-to-do-performance-tuning](https://www.wowza.com/docs/how-to-do-performance-tuning)

The MediaCache package guide includes tuning guidance for that addon

Your “How many…” questions have to be answered by testing. The Wowza load test tool can help with simple scenario (live or vod rtmp streaming). You can get this tool by writing to test@wowza.com. There is a document to sign and return.

Richard
