I just now set this run time string into my openmeetings service: set JAVA_OPTS= -Xmx768m -Xms256 -Xmn512m -Xss256k -XX:+AggressiveOpts - XX:+AggressiveHeap -XX:+DisableExplicitGC -XX:ParallelGCThreads=4 - XX: +UseConcMarkSweepGC -XX:+UseParNewGC -XX:SurvivorRatio=16 - XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=31 - Djava.net.preferIPv4Stack=true -Dsun.rmi.dgc.client.gcInterval=990000 - Dsun.rmi.dgc.server.gcInterval=990000
Everythink looks jake ..... but how would I know If I'm running "high performance" JVM?? Is there something I can look at?? On Mar 25, 1:39 am, RickkciR <[email protected]> wrote: > sorry .....posted before you : ( > > so .... if I just copy "red5_highperf.bat" into "red5.bat" I should > be go to go?? > > On Mar 25, 1:36 am, RickkciR <[email protected]> wrote: > > > > > >OK .... but I would have guessed that once the "wrapper" was installed > > >and run as a service, then ".bat" files were then ignored. > > > Buy this I mean , the information inside a ".bat" file needs to be > > manually "clicked-on" to work. > > > I dont think the wapper.exe even uses the ".bat" files. > > > On Mar 25, 1:26 am, RickkciR <[email protected]> wrote: > > > > OK .... but I would have guessed that once the "wrapper" was installed > > > and run as a service, then ".bat" files were then ignored. > > > > yes, I can increase memory in my wapper confg, but I think these > > > parameters work to also invoke an enhanced algorithm within the JVM > > > for garbage collection and running multi-threads as well. > > > > On Mar 25, 1:16 am, Jyothivas Nair <[email protected]> wrote: > > > > > if the high performance batch file executes fine on your machine... > > > > then i would suggest why don't you stop your service > > > > copy the REM and SET commands from the high performance batch file and > > > > paste it into red5.batch file...just give it a try it might work. > > > > i just cant run those commands here on my machine :( > > > > that's why cant give a absolute answer. > > > > and also the batch commands in high-performance batch do contain a lot > > > > of commands to tweak the jvm those will only work on a particular > > > > environment, so it would be a trial and error scenario until you get > > > > ti right for your environment. > > > > > secondly as your running red5 as a service and if all you need is to > > > > let your service get more memory then there are 2 parameters in your > > > > "wrapper.conf" file that might help > > > > > # Initial Java Heap Size (in MB) > > > > wrapper.java.initmemory=256 > > > > > # Maximum Java Heap Size (in MB) > > > > wrapper.java.maxmemory=768 > > > > > tweaking these would give your red5 service more memory to work with. > > > > > On Mar 25, 9:54 am, RickkciR <[email protected]> wrote: > > > > > > Thanks Jyothivas! > > > > > > I did what you said long ago, and that works fine. > > > > > > Before I was running as a service, I had to "click-on" the > > > > > "red5_highpef.bat" to invoke the new parameters. > > > > > > But now that I'm running as a service,. how do I invoke these new high > > > > > performance parameters? > > > > > > I'm not a computer guy, but it looks like these paramertes are being > > > > > "passed" to the JVM at run time. > > > > > > If so, can I have my win service include these parameters at run time > > > > > for me? > > > > > > On Mar 25, 12:40 am, Jyothivas Nair <[email protected]> wrote: > > > > > > > Hi Richard, > > > > > > > Just had a look at the batch file, from what i get it is changing > > > > > > the > > > > > > java memory options etc and then it calls red5.bat at the end (which > > > > > > is not happening at my end) > > > > > > so i believe it is increasing your memory constraints for current > > > > > > instance of your red5 service. > > > > > > just try shutting down your service and executing > > > > > > "red5_highperf.bat" > > > > > > before your service, i did try that but i run a lower configuration > > > > > > box which i think is the issue at my end....hope you can see any > > > > > > difference by doing this :) > > > > > > > On Mar 25, 8:30 am, RickkciR <[email protected]> > > > > > > wrote: > > > > > > > > This is a copy of whats inside the "red5_highperf.bat" > > > > > > > > @echo off > > > > > > > > if NOT DEFINED RED5_HOME set RED5_HOME=. > > > > > > > > REM Previous option set > > > > > > > REM -Xrs -Xms512M -Xmx768M -Xss128K -XX:PermSize=256M - > > > > > > > XX:MaxPermSize=512M -XX:NewRatio=2 -XX:MinHeapFreeRatio=20 -XX: > > > > > > > +AggressiveHeap -XX:+DisableExplicitGC -XX:ParallelGCThreads=2 > > > > > > > -XX: > > > > > > > +UseParallelOldGC -XX:+MaxFDLimit - > > > > > > > Dsun.rmi.dgc.client.gcInterval=990000 - > > > > > > > Dsun.rmi.dgc.server.gcInterval=990000 > > > > > > > -Djava.net.preferIPv4Stack=true - > > > > > > > Xverify:none > > > > > > > > REM Latest 06/2008 > > > > > > > REM -Xmx768m -Xms256 -Xmn512m -Xss128k -XX:+AggressiveOpts -XX: > > > > > > > +AggressiveHeap -XX:+DisableExplicitGC -XX:ParallelGCThreads=4 > > > > > > > -XX: > > > > > > > +UseConcMarkSweepGC -XX:+UseParNewGC -XX:SurvivorRatio=8 - > > > > > > > XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=31 - > > > > > > > Djava.net.preferIPv4Stack=true > > > > > > > -Dsun.rmi.dgc.client.gcInterval=990000 - > > > > > > > Dsun.rmi.dgc.server.gcInterval=990000 > > > > > > > > set JAVA_OPTS= -Xmx768m -Xms256 -Xmn512m -Xss256k > > > > > > > -XX:+AggressiveOpts - > > > > > > > XX:+AggressiveHeap -XX:+DisableExplicitGC -XX:ParallelGCThreads=4 > > > > > > > -XX: > > > > > > > +UseConcMarkSweepGC -XX:+UseParNewGC -XX:SurvivorRatio=16 - > > > > > > > XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=31 - > > > > > > > Djava.net.preferIPv4Stack=true > > > > > > > -Dsun.rmi.dgc.client.gcInterval=990000 - > > > > > > > Dsun.rmi.dgc.server.gcInterval=990000 > > > > > > > > echo Running High Performance Red5 > > > > > > > start cmd /c %RED5_HOME%\red5.bat >> %RED5_HOME%\log\jvm.stdout > > > > > > > > On Mar 24, 11:27 pm, RickkciR <[email protected]> > > > > > > > wrote: > > > > > > > > > Hi Jyothivas! > > > > > > > > > The "red5_highpef.bat" i'm guessing, affords better performance > > > > > > > > parameters if you have a capable computer (ie: quad core,max > > > > > > > > ram,etc.). > > > > > > > > > I dont see where I am to make these changes in OpenMeetings. > > > > > > > > > On Mar 24, 11:16 pm, Jyothivas Nair <[email protected]> > > > > > > > > wrote: > > > > > > > > > > i cant relate to what exactly you want, but if you are trying > > > > > > > > > to change red5 > > > > > > > > > configuration > > > > > > > > > i believe red5 reference would help that's if you haven't > > > > > > > > > gone through it > > > > > > > > > already > > > > > > > > > :)http://trac.red5.org/wiki/Documentation/UsersReferenceManual > > > > > > > > > > On Thu, Mar 25, 2010 at 7:00 AM, RickkciR > > > > > > > > > <[email protected]>wrote: > > > > > > > > > > > Hi! > > > > > > > > > > > I have OpenMeetings running as a service on a winXP machine. > > > > > > > > > > > In regards to the parameter settings within the red5.bat and > > > > > > > > > > red5_highperf.bat, > > > > > > > > > > > Where do I make the configuration changes that the > > > > > > > > > > "red5_highperf.bat" > > > > > > > > > > parameters afforded to this application? > > > > > > > > > > > In other words, where do I permanently set these "high > > > > > > > > > > performance" > > > > > > > > > > parameters. > > > > > > > > > > > Thanks! > > > > > > > > > > > -- > > > > > > > > > > You received this message because you are subscribed to the > > > > > > > > > > Google Groups > > > > > > > > > > "OpenMeetings User" group. > > > > > > > > > > To post to this group, send email to > > > > > > > > > > [email protected]. > > > > > > > > > > To unsubscribe from this group, send email to > > > > > > > > > > [email protected]<openmeetings-user%2bunsubscr[email protected]> > > > > > > > > > > . > > > > > > > > > > For more options, visit this group at > > > > > > > > > >http://groups.google.com/group/openmeetings-user?hl=en. > > > > > > > > > > -- > > > > > > > > > Thanks & Regards, > > > > > > > > > > Jyothivas R Nair > > > > > > > > > > [email protected] > > > > > > > > > [email protected] > > > > > > > > > Skype ID : jyothivas.nair > > > > > > > > > Website :www.jyothivasnair.co.cc > > > > > > > > > Website :www.jyothivas.co.cc-Hidequotedtext- > > > > > > > > > > - Show quoted text -- Hide quoted text - > > > > > > > > > - Show quoted text -- Hide quoted text - > > > > > > > - Show quoted text -- Hide quoted text - > > > > > - Show quoted text -- Hide quoted text - > > > > - Show quoted text -- Hide quoted text - > > > - Show quoted text -- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "OpenMeetings User" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/openmeetings-user?hl=en.
