Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BBDBF200C0E for ; Tue, 17 Jan 2017 20:35:09 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id BA58A160B30; Tue, 17 Jan 2017 19:35:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DCCB9160B46 for ; Tue, 17 Jan 2017 20:35:08 +0100 (CET) Received: (qmail 19392 invoked by uid 500); 17 Jan 2017 19:35:08 -0000 Mailing-List: contact dev-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jmeter.apache.org Delivered-To: mailing list dev@jmeter.apache.org Received: (qmail 19341 invoked by uid 99); 17 Jan 2017 19:35:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jan 2017 19:35:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 3FF141A037C for ; Tue, 17 Jan 2017 19:35:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.68 X-Spam-Level: * X-Spam-Status: No, score=1.68 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, HTML_OBFUSCATE_05_10=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id RDUJnsS6TtN2 for ; Tue, 17 Jan 2017 19:35:03 +0000 (UTC) Received: from mail-qt0-f170.google.com (mail-qt0-f170.google.com [209.85.216.170]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id D26C25F297 for ; Tue, 17 Jan 2017 19:35:02 +0000 (UTC) Received: by mail-qt0-f170.google.com with SMTP id l7so175977908qtd.1 for ; Tue, 17 Jan 2017 11:35:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=mLOObza8p7DyFkjrC6jgNAs5T/d3A2PLfMsm/qxDIuU=; b=kfRXOQnnA4fGKK1GSG1nx0p1x5LZ0P/cAt7TzVuVj4XPXrerK+Utcf+n67XfzFycI9 8l/OPUziLQiwNuq0y8TZsp3BUE9anvF+YdQh9BmbydmsZNMnzUWt7GoIDDJdiAdqwHkh F3g2G+s44ruk5nviIIVAjC9KYIsXDDkNFd+SANW0fNFIIdRL5FF3mlycG3ZSWGXeZZwO enX9nKR+OZS9kv83PU+vdL+wgIjKnYvf0G5F/2DyJ6Sdc722IXxOOoK7MvLgjl+cuRfb /1XlDFgDl6LvIrw+XrTUtEc5w3j4ANjxp6bCMB5jmN+lNStaY/gcITe+zOIAWAvpf5sm IjzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=mLOObza8p7DyFkjrC6jgNAs5T/d3A2PLfMsm/qxDIuU=; b=e8Zo1J37yTMUavy2MELB2cLHRU0bM+5NixZF1hod00bGM7kV2nseMrwc/EqWHuyKBX VfS0/fSBmJm47Nk3alQ9kZH8spuhDDg5KRwMlW5oI+nWCmVxAGeTtNOPHu3tsnUeTYNG xoor5gFUxonzX27bEdTJrdNqunODibhoUUrpVSP1AxtxQYDpsDCt+el1a6Rsvoa7qVVp ORb8guYKSPBd2EmnMuGcfpBu5e80p+JTK40rWU8khDro415ku4tItjACBLVkqFqx+jIy f47G71hW2ZuHYz5sN6YWh+Xhx0K4a/Z4PCY84rJ70Dn5pi6mFB7bT943K1NeVWEsDLBj AtQA== X-Gm-Message-State: AIkVDXLLjWMicGyiWsQWcJrmtUeaN12ME7TdGLsi3SrSPUhi9a4OFmENJHH4Xm4gdmt1/wiDgxyD8bD96ieQgA== X-Received: by 10.237.47.161 with SMTP id m30mr37806023qtd.20.1484681695961; Tue, 17 Jan 2017 11:34:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.147.75 with HTTP; Tue, 17 Jan 2017 11:34:55 -0800 (PST) In-Reply-To: <46b93252-914c-a069-0829-1ddf681d3ad1@kippdata.de> References: <20170116212721.982FB3A00A3@svn01-us-west.apache.org> <46b93252-914c-a069-0829-1ddf681d3ad1@kippdata.de> From: Philippe Mouawad Date: Tue, 17 Jan 2017 20:34:55 +0100 Message-ID: Subject: Re: svn commit: r1779108 - in /jmeter/trunk: bin/jmeter bin/jmeter.bat xdocs/changes.xml To: "dev@jmeter.apache.org" Content-Type: multipart/alternative; boundary=94eb2c1239ea17a99805464f65bb archived-at: Tue, 17 Jan 2017 19:35:09 -0000 --94eb2c1239ea17a99805464f65bb Content-Type: text/plain; charset=UTF-8 Hello Rainer, Nice to see you back among us and Happy new year ! Good catch , thanks Regards On Tue, Jan 17, 2017 at 7:08 PM, Rainer Jung wrote: > Hi there, > > > Am 16.01.2017 um 22:27 schrieb pmouawad@apache.org: > >> Author: pmouawad >> Date: Mon Jan 16 21:27:21 2017 >> New Revision: 1779108 >> >> URL: http://svn.apache.org/viewvc?rev=1779108&view=rev >> Log: >> Bug 60593 - Switch to G1 GC algorithm >> Bugzilla Id: 60593 >> >> Modified: >> jmeter/trunk/bin/jmeter >> jmeter/trunk/bin/jmeter.bat >> jmeter/trunk/xdocs/changes.xml >> >> Modified: jmeter/trunk/bin/jmeter >> URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/jmeter?rev=177 >> 9108&r1=1779107&r2=1779108&view=diff >> ============================================================ >> ================== >> --- jmeter/trunk/bin/jmeter (original) >> +++ jmeter/trunk/bin/jmeter Mon Jan 16 21:27:21 2017 >> @@ -67,10 +67,7 @@ done >> >> PRGDIR=`dirname "$PRG"` >> >> -# The following should be reasonably good values for most tests running >> -# on Sun JVMs. Following is the analysis on which it is based. If it's >> total >> -# gibberish to you, please study my article at >> -# http://www.atg.com/portal/myatg/developer?paf_dm=full&paf_ >> gear_id=1100010&detailArticle=true&id=9606 >> +# >> # Original page has disappeared, it is now only available at: >> # https://web.archive.org/web/20060614151434/http://www.atg.co >> m/portal/myatg/developer?paf_dm=full&paf_gear_id=1100010& >> detailArticle=true&id=9606 >> # >> @@ -90,36 +87,18 @@ PRGDIR=`dirname "$PRG"` >> # system's memory availability: >> HEAP="-Xms512m -Xmx512m" >> >> -# There's an awful lot of per-sample objects allocated during test run, >> so we >> -# need a large eden to avoid too frequent scavenges -- you'll need to >> tune this >> -# down proportionally if you modify the HEAP values above, below example >> is fine for 512m of Heap: >> -# NEW="-XX:NewSize=128m -XX:MaxNewSize=128m" >> - >> -# This ratio and target have been proven OK in tests with a specially >> high >> -# amount of per-sample objects (the HtmlParserHTMLParser tests): >> -# SURVIVOR="-XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=50" >> - >> -# Think about it: trying to keep per-run objects in tenuring definitely >> -# represents a cost, but where's the benefit? They won't disappear before >> -# the test is over, and at that point we will no longer care about >> performance. >> -# >> -# So we will have JMeter do an explicit Full GC before starting a test >> run, >> -# but then we won't make any effort (or spend any CPU) to keep objects >> -# in tenuring longer than the life of per-sample objects -- which is >> hopefully >> -# shorter than the period between two scavenges): >> -# >> -TENURING="-XX:MaxTenuringThreshold=2" >> - >> -CLASS_UNLOAD="-XX:+CMSClassUnloadingEnabled" >> +#VERBOSE_GC="-verbose:gc -Xloggc:gc_jmeter_%p.log -XX:+PrintGCDetails >> -XX:+PrintGCCause -XX:+PrintTenuringDistribution -XX:+PrintHeapAtGC >> -XX:+PrintGCApplicationConcurrentTime -XX:+PrintGCApplicationStoppedTime >> -XX:+PrintGCDateStamps" >> >> # Finally, some tracing to help in case things go astray: >> -#DEBUG="-verbose:gc -XX:+PrintTenuringDistribution" >> +GC_ALGO="-XX:+UseG1GC -XX:MaxGCPauseMillis=250 -XX:G1ReservePercent=20" >> + >> +CLASS_UNLOAD="-XX:+CMSClassUnloadingEnabled" >> > > I think CMS class unloading doesn't make sense in combination with G1. CMS > (concurrent Mark Sweep) is an alternative collector which can be used > instead of G1. IMHO we should drop this variable ... > > # Always dump on OOM (does not cost anything unless triggered) >> DUMP="-XX:+HeapDumpOnOutOfMemoryError" >> >> SERVER="-server" >> >> -ARGS="$SERVER $DUMP $HEAP $NEW $SURVIVOR $TENURING $PERM $CLASS_UNLOAD" >> +ARGS="$SERVER $DUMP $HEAP $CLASS_UNLOAD $VERBOSE_GC $GC_ALGO" >> > > ... and remove it from ARGS > > > java $ARGS $JVM_ARGS $JMETER_OPTS -jar "$PRGDIR/ApacheJMeter.jar" "$@" >> >> Modified: jmeter/trunk/bin/jmeter.bat >> URL: http://svn.apache.org/viewvc/jmeter/trunk/bin/jmeter.bat?rev >> =1779108&r1=1779107&r2=1779108&view=diff >> ============================================================ >> ================== >> --- jmeter/trunk/bin/jmeter.bat (original) >> +++ jmeter/trunk/bin/jmeter.bat Mon Jan 16 21:27:21 2017 >> @@ -71,31 +71,24 @@ rem On NT/2K grab all arguments at once >> set JMETER_CMD_LINE_ARGS=%* >> >> rem The following link describes the -XX options: >> -rem http://www.oracle.com/technetwork/java/javase/tech/vmoptions >> -jsp-140102.html >> -rem http://java.sun.com/developer/TechTips/2000/tt1222.html has some >> more descriptions >> -rem Unfortunately TechTips no longer seem to be available, except via: >> -rem https://web.archive.org/web/20090614101951/http://java.sun. >> com/developer/TechTips/2000/tt1222.html >> +rem http://docs.oracle.com/javase/8/docs/technotes/tools/unix/java.html >> >> rem See the unix startup file for the rationale of the following >> parameters, >> rem including some tuning recommendations >> set HEAP=-Xms512m -Xmx512m >> -set NEW=-XX:NewSize=128m -XX:MaxNewSize=128m >> -set SURVIVOR=-XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=50% >> -set TENURING=-XX:MaxTenuringThreshold=2 >> -rem Java 8 remove Permanent generation, don't settings the PermSize >> -if %current_minor% LEQ "8" ( >> - rem Increase MaxPermSize if you use a lot of Javascript in your Test >> Plan : >> - set PERM=-XX:PermSize=64m -XX:MaxPermSize=128m >> -) >> + >> +#Uncomment this to generate GC verbose file >> +rem set VERBOSE_GC=-verbose:gc -Xloggc:gc_jmeter_%p.log >> -XX:+PrintGCDetails -XX:+PrintGCCause -XX:+PrintTenuringDistribution >> -XX:+PrintHeapAtGC -XX:+PrintGCApplicationConcurrentTime >> -XX:+PrintGCApplicationStoppedTime -XX:+PrintGCDateStamps >> + >> +set GC_ALGO=-XX:+UseG1GC -XX:MaxGCPauseMillis=250 -XX:G1ReservePercent=20 >> >> set CLASS_UNLOAD=-XX:+CMSClassUnloadingEnabled >> > > Same here ... > > -rem set DEBUG=-verbose:gc -XX:+PrintTenuringDistribution >> >> rem Always dump on OOM (does not cost anything unless triggered) >> set DUMP=-XX:+HeapDumpOnOutOfMemoryError >> >> rem Additional settings that might help improve GUI performance on some >> platforms >> -rem See: http://java.sun.com/products/java-media/2D/perf_graphics.html >> +rem See: http://www.oracle.com/technetwork/java/perf-graphics-135933. >> html >> >> set DDRAW= >> rem Setting this flag to true turns off DirectDraw usage, which >> sometimes helps to get rid of a lot of rendering problems on Win32. >> @@ -109,7 +102,7 @@ rem set DDRAW=%DDRAW% -Dsun.java2d.ddsca >> >> rem Server mode >> rem Collect the settings defined above >> -set ARGS=%DUMP% %HEAP% %NEW% %SURVIVOR% %TENURING% %PERM% %CLASS_UNLOAD% >> %DDRAW% >> +set ARGS=%DUMP% %HEAP% %CLASS_UNLOAD% %VERBOSE_GC% %GC_ALGO% %DDRAW% >> > > ... and here > > %JM_START% %JM_LAUNCH% %ARGS% %JVM_ARGS% -jar >> "%JMETER_BIN%ApacheJMeter.jar" %JMETER_CMD_LINE_ARGS% >> >> >> Modified: jmeter/trunk/xdocs/changes.xml >> URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml? >> rev=1779108&r1=1779107&r2=1779108&view=diff >> ============================================================ >> ================== >> --- jmeter/trunk/xdocs/changes.xml [utf-8] (original) >> +++ jmeter/trunk/xdocs/changes.xml [utf-8] Mon Jan 16 21:27:21 2017 >> @@ -153,6 +153,7 @@ JMeter now requires Java 8. Ensure you u >>
  • 54525Search Feature : Enhance it with ability to >> replace
  • >>
  • 60530Add API to create JMeter threads while test is >> running. Based on a contribution by Logan Mauzaize (logan.mauzaize at >> gmail.com) and Maxime Chassagneux (maxime.chassagneux at gmail.com).
  • >>
  • 60514Ability to apply a naming convention on Children >> of a Transaction Controller. Contributed by Ubik Load Pack (support at >> ubikloadpack.com)
  • >> +
  • 60593Switch to G1 GC algorithm
  • >> >> >> Non-functional changes >> > > Regards, > > Rainer > > -- Cordialement. Philippe Mouawad. --94eb2c1239ea17a99805464f65bb--