[Building Sakai] How much RAM for small installation?

Gilgamesh Nootebos G.Nootebos at uva.nl
Mon Oct 11 02:55:29 PDT 2010


Hi Bryan,

Run your desired setup but with lots of RAM and check how much is used,
don't forget to tweak it to as low as you dare to go.

to Really fine tune the settings you have to find out about:
- how many threads you want to run. each thread has it's own stack.
- 32 or 64bit. Objects are bigger on 64bit.
- PermGen and CodeCache are outside the heap

See http://stackoverflow.com/questions/3646483/java-memory-usage-on-linux for
a little bit more detail.

Kind regards,
Gilgamesh Nootebos
_____

*Universiteit van Amsterdam
*Informatiseringscentrum - Onderwijs- & Onderzoeksdienstengroep

Gilgamesh Nootebos
*Java Ontwikkelaar
*
Gebouw Rivierstaete 2e etage
Amsteldijk 166 | 1079 LH Amsterdam

T 020 525 3366
http://www.ic.uva.nl
Aanwezig op
ma | di | wo | vr



On Fri, Oct 8, 2010 at 06:00, Matthew Jones <jonespm at umich.edu> wrote:

> On our dev server (Custom 2.6) with a max of about 10-20 people hitting it,
> I've never had a running okay with about 1.5gig of ram. This has a lot of
> contrib tools though and I really don't know how low it could go. If you use
> something like the cafe build [1] [2] and only include the tools you need
> (or just remove some you don't), you could probably get by with under a
> gigabyte. Sakai, for sure, loves memory though.
>
> (dev server settings)
> /usr/local/jdk/bin/java -server -Xms1500m -Xmx1500m -XX:NewSize=400m
> -XX:MaxNewSize=400m -XX:PermSize=256m -XX:MaxPermSize=256m
>
> [1] https://source.sakaiproject.org/svn/cafe/
> [2] http://confluence.sakaiproject.org/display/BOOT/Programmer's+Cafe
>
> On Thu, Oct 7, 2010 at 10:07 PM, Anand Mehta <anand.mehta at yahoo.com>wrote:
>
>> I'd suggest at least -Xmx2048m -XX:MaxPermSize=512m to avoid any
>> performance issues.
>>
>> Thanks,
>> Anand
>>
>>
>> ------------------------------
>> *From:* Bryan Bakotich <bakotibj at plu.edu>
>> *To:* sakai-dev at collab.sakaiproject.org
>> *Sent:* Thu, October 7, 2010 8:59:34 PM
>> *Subject:* [Building Sakai] How much RAM for small installation?
>>
>> Hi all,
>>
>> I'm setting Sakai up for a non-profit that estimates they will only have
>> about 40-50 users. How much RAM do you think an installation that small
>> would need? Do you think it would need much more than the recommended for a
>> dev server (-Xms512m -Xmx1024m)?
>>
>> I am setting it up on a server from their hosting service where the
>> monthly fee goes up depending on how much RAM you need. Trying to keep it as
>> low as possible. Thanks for any insight.
>>
>> I will be installing 2.7.x using a MySQL db on Debian OS if that makes any
>> difference.
>>
>> -Bryan
>>
>> --
>> Bryan Bakotich
>> Open Source Implementation Specialist
>> Digital Media Center, Information & Technology Services
>> Pacific Lutheran University
>> Tacoma, WA 98447-0013
>> Phone: 253-536-5021
>>
>>
>> _______________________________________________
>> sakai-dev mailing list
>>
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>>
>> TO UNSUBSCRIBE: send email to
>> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
>> "unsubscribe"
>>
>
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to
> sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of
> "unsubscribe"
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20101011/91ac7b82/attachment.html 


More information about the sakai-dev mailing list