Return-Path: X-Original-To: apmail-jmeter-user-archive@www.apache.org Delivered-To: apmail-jmeter-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 88CD9932E for ; Wed, 20 Jun 2012 19:14:23 +0000 (UTC) Received: (qmail 96941 invoked by uid 500); 20 Jun 2012 19:14:23 -0000 Delivered-To: apmail-jmeter-user-archive@jmeter.apache.org Received: (qmail 96911 invoked by uid 500); 20 Jun 2012 19:14:22 -0000 Mailing-List: contact user-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "JMeter Users List" Delivered-To: mailing list user@jmeter.apache.org Received: (qmail 96902 invoked by uid 99); 20 Jun 2012 19:14:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2012 19:14:22 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of shettyd@gmail.com designates 209.85.213.171 as permitted sender) Received: from [209.85.213.171] (HELO mail-yx0-f171.google.com) (209.85.213.171) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jun 2012 19:14:16 +0000 Received: by yenq11 with SMTP id q11so6233915yen.2 for ; Wed, 20 Jun 2012 12:13:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=94YNJ7jgmcoSlrw9RcEX994KOlC64XWteVmeznC+JNI=; b=Qj69879ie8shZ+2UBbAqjogco8+iSE9KMV7/ce3T7TXlhysVe5b4BGAsUIov0kncdE izSoUbOq/C+mWw3BCm6hy+9UyvF7GDvqZML3L5Zf7wIOpyWt9y5hUW+ef0bijjpfcXhv gWdtboZQVOWkM0/pL6PZHeaZD61ZXAFI/S9t++yAlPc9oELJvbts5CTY/bnyOTK+JZhE c/i3wyMdJxPLOQ4CZ1lHFaInfBkbdUsjm6MK+KGgoEuGcD6xLu1IpSIHIeHguL2C5p9b 5z3x/CsWalsswYfk2NLlnPIH6cI1Q3ZLSqwbgzAT2+PCJyALCJJsQtftAaKVIwkkqTUu aVog== MIME-Version: 1.0 Received: by 10.60.3.40 with SMTP id 8mr24925159oez.31.1340219635266; Wed, 20 Jun 2012 12:13:55 -0700 (PDT) Received: by 10.182.91.234 with HTTP; Wed, 20 Jun 2012 12:13:54 -0700 (PDT) In-Reply-To: References: <008a01cd4f14$b0ed62e0$12c828a0$@gmail.com> Date: Wed, 20 Jun 2012 12:13:54 -0700 Message-ID: Subject: Re: Preparing LINUX or WIN machines to run Jmeter From: Deepak Shetty To: JMeter Users List Content-Type: multipart/alternative; boundary=e89a8f83a34547f33c04c2ec33d0 --e89a8f83a34547f33c04c2ec33d0 Content-Type: text/plain; charset=ISO-8859-1 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 wrote: > This IS a professional answer. > > Thanks a lot! > > Shay > > > > > > On Wed, Jun 20, 2012 at 9:44 PM, Robin D. Wilson > 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 wrote: > > > > > Hey, > > > > > > Depends on the load which you are going to fire the machines with. > > > > > > :) > > > Deepak > > > > > > On 6/20/12, Shay Ginsbourg 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 > > 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 > --e89a8f83a34547f33c04c2ec33d0--