frequent YGC.
# To display the perf.data header info, please use --header/--header-only options.
#
#
# Total Lost Samples: 0
#
# Samples: 535K of event 'cycles'
| { | |
| "ociVersion": "1.0.1-dev", | |
| "process": { | |
| "terminal": true, | |
| "user": { | |
| "uid": 0, | |
| "gid": 0 | |
| }, | |
| "args": [ | |
| "/bin/bash" |
| import com.carrotsearch.randomizedtesting.RandomizedRunner; | |
| import org.jboss.byteman.contrib.bmunit.BMRule; | |
| import org.jboss.byteman.contrib.bmunit.BMRules; | |
| import org.jboss.byteman.contrib.bmunit.BMRunnerUtil; | |
| import org.jboss.byteman.contrib.bmunit.BMScript; | |
| import org.jboss.byteman.contrib.bmunit.BMScripts; | |
| import org.jboss.byteman.contrib.bmunit.BMUnit; | |
| import org.jboss.byteman.contrib.bmunit.BMUnitConfig; | |
| import org.jboss.byteman.contrib.bmunit.BMUnitConfigState; |
| $ sudo /usr/local/sbin/ply -D -c 'kprobe:vfs_read{ printf("%v: %v\n", comm(), arg(0)); }' | |
| symtable: | |
| ast: | |
| `-> <script> (type:script/none size:0x0 loc:nowhere) | |
| `-> kprobe:vfs_read (type:probe/none size:0x0 loc:nowhere) | |
| `-> <auto>.printf (type:call/none size:0x0 loc:reg/0) | |
| |-> "%v: %v\n"(type:str/str size:0x8 loc:virtual) | |
| `-> <rec> (type:rec/none size:0x20 loc:stack/-0x20) | |
| |-> 0 (type:int/int size:0x8 loc:stack/-0x20) |
| pool-1-thread-126" #152 prio=5 os_prio=0 tid=0x00007f34ec6ae800 nid=0xc03f waiting on condition [0x00007f3416be9000] | |
| java.lang.Thread.State: TIMED_WAITING (parking) | |
| at sun.misc.Unsafe.park(Native Method) | |
| - parking to wait for <0x0000000080451948> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) | |
| at java.util.concurrent.locks.LockSupport.parkUntil(LockSupport.java:256) | |
| at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitUntil(AbstractQueuedSynchronizer.java:2120) | |
| at org.apache.http.pool.AbstractConnPool.getPoolEntryBlocking(AbstractConnPool.java:378) | |
| at org.apache.http.pool.AbstractConnPool.access$200(AbstractConnPool.java:69) | |
| at org.apache.http.pool.AbstractConnPool$2.get(AbstractConnPool.java:246) | |
| - locked <0x00000005d0231ab8> (a org.apache.http.pool.AbstractConnPool$2) |
| bash-3.2$ python | |
| Python 2.7.10 (default, Feb 6 2017, 23:53:20) | |
| [GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34)] on darwin | |
| Type "help", "copyright", "credits" or "license" for more information. | |
| >>> def func(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12): | |
| def func(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12): | |
| ... return arg1+arg2+arg3+arg4+arg5+arg6+arg7+arg8+arg9+arg10+arg11+arg12 | |
| return arg1+arg2+arg3+arg4+arg5+arg6+arg7+arg8+arg9+arg10+arg11+arg12 | |
| ... |
frequent YGC.
# To display the perf.data header info, please use --header/--header-only options.
#
#
# Total Lost Samples: 0
#
# Samples: 535K of event 'cycles'
| export PATH=/usr/local/sbin:$PATH | |
| export JAVA_HOME="$(/usr/libexec/java_home -v 1.8)" | |
| # GOLANG | |
| export GOPATH=$HOME/software/gopath | |
| export PATH=$PATH:$GOPATH/bin | |
| # GNU TAR | |
| export PATH=/usr/local/opt/gnu-tar/libexec/gnubin:$PATH |
| #!/usr/bin/env bash | |
| set -e | |
| VER=$1 | |
| PROJ="etcd" | |
| if [ -z "$1" ]; then | |
| echo "Usage: ${0} VERSION" >> /dev/stderr | |
| exit 255 |
| [defaults] | |
| timeout=20 | |
| forks=20 | |
| remote_user=ubuntu | |
| jinja2_extensions=jinja2.ext.do,jinja2.ext.i18n | |
| # | |
| [ssh_connection] | |
| # scp_if_ssh=True | |
| # pipelining=True |
| 66.69% java [kernel.kallsyms] [k] _raw_spin_unlock_irqrestore | |
| | | |
| --- _raw_spin_unlock_irqrestore | |
| | | |
| |--99.96%-- compaction_alloc | |
| | migrate_pages | |
| | compact_zone | |
| | try_to_compact_pages | |
| | __alloc_pages_direct_compact | |
| | __alloc_pages_nodemask |