jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <shet...@gmail.com>
Subject Re: Preparing LINUX or WIN machines to run Jmeter
Date Wed, 20 Jun 2012 19:13:54 GMT
Hi
my experience is that if you need to tweak the OS to allow more sockets ,
then assuming you dont have a server class machine , your results are
probably not going to be accurate and you'd be better served by increasing
the number of machines you are running the test on

regards
deepak

On Wed, Jun 20, 2012 at 11:58 AM, Shay Ginsbourg <sginsbourg@gmail.com>wrote:

> This IS a professional answer.
>
> Thanks a lot!
>
> Shay
>
>
>
>
>
> On Wed, Jun 20, 2012 at 9:44 PM, Robin D. Wilson <rwilson2@gmail.com>
> wrote:
>
> > On Linux, I'm not sure... I suspect you don't have to do anything
> special.
> >
> > On Windows, it depends on the OS, but the changes are similar. Mostly,
> you
> > need to update the registry to change "the "MAXCONNECTIONSPERSERVER" and
> > "MAXCONNECTIONSPER1_0SERVER" settings to allow for a lot more outbound
> TCP
> > connections. Also on Win 7 (perhaps Vista as well), you need to increase
> > the "MaxUserPort" beyond the default.
> >
> > If you are on a 'server' OS (Win2003, Win2008, etc.), you probably don't
> > need to make this change.  But on the XP, and Win Vista or Win 7
> versions,
> > you will need to do it.
> >
> > Just google those settings, and read the info about the registration
> hacks
> > you will need.
> >
> > I created a '.reg' file for our Win7 systems, so I paste its contents
> here
> > - in case you have a Win7 box. You can save the below to a file, then go
> > into Registry Editor and 'Import' the file if you like. It sets all of
> the
> > 'max connection' values to 2000, and the maxuserport value to 65534
> > (which is the max possible value). DON'T USE THIS FILE WITH OTHER
> VERSIONS
> > OF WINDOWS - IT WON'T WORK FOR ANYTHING BUT WIN7. Also, if you have
> already
> > edited these settings, I believe this will overwrite them. So you would
> > probably just want to manually add stuff from this. Lastly, these changes
> > would not be appropriate for an 'end-user' machine, only for a
> load-testing
> > machine where you are running less than 2000 simultaneous threads.
> >
> > -------------------------CUT HERE------------------------
> >
> > Windows Registry Editor Version 5.00
> >
> > [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet
> > Explorer\MAIN\FeatureControl\FEATURE_MAXCONNECTIONSPER1_0SERVER]
> > "explorer.exe"=dword:00000800
> > "iexplore.exe"=dword:00000800
> > "firefox.exe"=dword:00000800
> > "chrome.exe"=dword:00000800
> > "java.exe"=dword:00000800
> > "javaw.exe"=dword:00000800
> > "ApacheJMeter.jar"=dword:00000800
> > "sllauncher.exe"=dword:00000800
> >
> > [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet
> > Explorer\MAIN\FeatureControl\FEATURE_MAXCONNECTIONSPERSERVER]
> > "explorer.exe"=dword:00000800
> > "iexplore.exe"=dword:00000800
> > "firefox.exe"=dword:00000800
> > "chrome.exe"=dword:00000800
> > "java.exe"=dword:00000800
> > "javaw.exe"=dword:00000800
> > "ApacheJMeter.jar"=dword:00000800
> > "sllauncher.exe"=dword:00000800
> >
> > [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Tcpip\Parameters]
> > "MaxUserPort"=dword:0000fffe
> >
> > ------------------------------------CUT
> HERE------------------------------
> >
> > --
> > Robin D. Wilson
> > Sr. Director of Web Development
> > KingsIsle Entertainment, Inc.
> > VOICE: 512-777-1861
> > www.KingsIsle.com
> >
> >
> > -----Original Message-----
> > From: Shay Ginsbourg [mailto:sginsbourg@gmail.com]
> > Sent: Wednesday, June 20, 2012 12:26 PM
> > To: JMeter Users List
> > Subject: Re: Preparing LINUX or WIN machines to run Jmeter
> >
> > I was expecting a professional answer.
> >
> >
> >
> >
> >
> > On Wed, Jun 20, 2012 at 8:22 PM, Deepak Goel <deicool@gmail.com> wrote:
> >
> > > Hey,
> > >
> > > Depends on the load which you are going to fire the machines with.
> > >
> > > :)
> > > Deepak
> > >
> > > On 6/20/12, Shay Ginsbourg <sginsbourg@gmail.com> wrote:
> > > > Hi,
> > > >
> > > > Is there a list of recommended configuration settings for preparing
> > LINUX
> > > > or WIN machines to run Jmeter load tests?
> > > >
> > > > For example, increasing the max number of concurrent TCP connections,
> > > etc.
> > > >
> > > > thanks,
> > > > Shay
> > > >
> > >
> > >
> > > --
> > > Namaskara~Nalama~Guten Tag~Bonjour
> > >
> > >
> > >   --
> > > Keigu
> > >
> > > Deepak
> > > +91-9765089593
> > > deicool@gmail.com
> > > http://www.simtree.net
> > >
> > > Skype: thumsupdeicool
> > > Google talk: deicool
> > > Blog: http://loveandfearless.wordpress.com
> > > Facebook: http://www.facebook.com/deicool
> > >
> > > "Contribute to the world, environment and more :
> > > http://www.gridrepublic.org
> > > "
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> > > For additional commands, e-mail: user-help@jmeter.apache.org
> > >
> > >
> >
> >
> > --
> >
> >
> > Shay Ginsbourg
> >
> > Regulatory & Testing Affairs Consultant
> >
> >
> > WWW.GINSBOURG.COM
> >
> >
> > Providing Regulatory, Medical & Performance Testing services since 2008:
> >
> > * IEC 62304 Medical Device Software Life Cycle
> >
> > * IEEE 829 Software Test Documentation
> >
> > * ISO 14971 Medical Device Risk Management
> >
> > * FDA 21 CFR Part 11 Software Validation
> >
> > * IEC 60601-1:2005 3rd ED PEMS - Medical Electrical Equipment
> >
> > * End-to-end verification, validation, and testing (VV&T)
> >
> > * FDA and CE submissions
> >
> > * Open source free testing tools implementation
> >
> > * Functionality and regression testing
> >
> > * Software Performance & Load testing
> >
> > * Software Testing Advanced Automation
> >
> > * Medical Software Verification & Validation
> >
> > * Medical Device Verification & Validation
> >
> > * Medical Device Regulatory Submission
> >
> > * Organizational Regulatory Qualification
> >
> >
> > Formerly QA Manager of LoadRunner at Mercury Interactive
> >
> >
> > M.Sc. cum laude in Bio-Medical Engineering
> >
> > M.Sc. in Mechanical Engineering
> >
> >
> >
> > Work:   +972(0)3-5185873
> >
> > Mobile:  +972(0)54-6690915
> >
> >
> > Email: sginsbourg@gmail.com
> >
> >
> > Visit my personal page on LinkedIn at:
> > http://www.linkedin.com/in/shayginsbourg
> >
> >
> > Please consider your environmental responsibility before printing this
> > e-mail.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> > For additional commands, e-mail: user-help@jmeter.apache.org
> >
> >
>
>
> --
>
>  Regards,
>
> Shay Ginsbourg
> Regulatory & Testing Affairs Consultant
>
> WWW.GINSBOURG.COM <http://www.ginsbourg.com/>
>
> Providing Regulatory, Medical & Performance Testing services since 2008.
>
> Formerly QA Manager of LoadRunner at Mercury Interactive
>
> M.Sc. cum laude in Bio-Medical Engineering
> M.Sc. in Mechanical Engineering
>
> Work:   +972(0)3-5185873
> Mobile:  +972(0)54-6690915
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message