Thanks Minseong!
I added your findings as a comment here: https://collaborate.linaro.org/display/IKB/Building+Android+on+Hackbox
And if anyone others like to use hackbox to build AOSP, please update the jack-server settings and the ports used there.
Thanks, Yongqin Liu
On 31 October 2016 at 19:04, YongQin Liu yongqin.liu@linaro.org wrote:
Hi, Minseong
Sorry, you are right, I updated $HOME/.jack-server/config.properties file as well.
<liuyq> minseong, the hikey building under my account on hackbox finished successfully <minseong> liuyq: I found out the follwoing: <minseong> liuyq: <minseong> SERVER_PORT_SERVICE=XXXX <minseong> Replace with SERVER_PORT_SERVICE=XXXX in $HOME/.jack-settings and <minseong> jack.server.service.port=XXXX in $HOME/.jack-server/config. properties. <minseong> SERVER_PORT_ADMIN=YYYY <minseong> Replace with SERVER_PORT_ADMIN=YYYY in $HOME/.jack-settings and <minseong> jack.server.admin.port=YYYY in $HOME/.jack-server/config. properties. <minseong> both locations should be updated and it now compiles ok on my hackbox. <minseong> liuyq: you did not update .jack-server/config.properties ?
- minseong has quit (Quit: Leaving.)
Thanks, Yongqin Liu
On 31 October 2016 at 14:23, Minseong Kim minseong.kim@linaro.org wrote:
Hi liuyq, bhoj~
I have also changed the .jack-settings as the following: # Server settings SERVER_HOST=127.0.0.1 SERVER_PORT_SERVICE=8*2*76 SERVER_PORT_ADMIN=8*2*77
I can see that the two jack server co-exists: minseong.kim@hackbox.linaro.org:~/aosp_uclang/aosp_master$ ./prebuilts/sdk/tools/jack-admin list-server yongqin+ 2379 java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -cp /home/yongqin.liu/.jack-server/launcher.jar minseon+ 22778 java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -cp /home/minseong.kim/.jack-server/launcher.jar
I will use the numbers.
This is a great solution to the problem we are having regarding the jack-server.
Thanks liuyq😁
cheers, Min
On 30 October 2016 at 22:49, YongQin Liu yongqin.liu@linaro.org wrote:
HI, MInseong, Vishal
We all often use hackbox to build android, and the jack-server seems a bottleneck for us.
I tried to update SERVER_PORT_SERVICE and SERVER_PORT_ADMIN in ~/.jack-settings as following:
SERVER_PORT_SERVICE=8176 SERVER_PORT_ADMIN=8177
And I found I could start the jack-server under my account, and no need to kill the jack-server under minseon.
yongqin.liu@hackbox.linaro.org:~/nougat$ ps -ef|grep com.android.jack.launcher.ServerLauncher yongqin+ 2379 1 99 13:23 pts/4 00:19:27 java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -cp /home/yongqin.liu/.jack-server/launcher.jar com.android.jack.launcher.ServerLauncher yongqin+ 6804 15997 0 13:41 pts/16 00:00:00 grep --color=auto com.android.jack.launcher.ServerLauncher minseon+ 13453 1 15 Oct29 ? 02:58:18 java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=/tmp -Dfile.encoding=UTF-8 -XX:+TieredCompilation -cp /home/minseong.kim/.jack-server/launcher.jar com.android.jack.launcher.ServerLauncher yongqin.liu@hackbox.linaro.org:~/nougat$
I will use these setting for my future android compilation, till I found any problem about it.
You could try to update it as well((or use the default) ) to see if it helps your android compilation. and could co-exist with my jack-server instance.
-- Best Regards, Yongqin Liu
#mailing list linaro-android@lists.linaro.org linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-android
-- Best Regards, Yongqin Liu
#mailing list linaro-android@lists.linaro.org linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-android