Skip to content

Instantly share code, notes, and snippets.

View hgomez's full-sized avatar

Henri Gomez hgomez

View GitHub Profile
@hgomez
hgomez / openjdk8-build-time-new-build-system
Created October 3, 2012 19:24
OpenJDK8 build with new build system
- Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
- 4Gb RAM
- 250Gb SATA HD
-------------------
- CentOS 5 - i586 -
-------------------
-- Build times ----------
Target
@hgomez
hgomez / fresh-openjdk8-build
Created October 4, 2012 10:47
fresh-openjdk8-build
OpenJDK 8 build using new build system
--------------------------------------
openjdk version "1.8.0-jdk8-b58"
OpenJDK Runtime Environment (build 1.8.0-jdk8-b58-20121004)
OpenJDK Server VM (build 25.0-b03, mixed mode)
* Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
* 3.5Gb RAM for 64bits VMs, 2.5Gb for 32bits VMs
* 30 Gb HD by VM
@hgomez
hgomez / openjdk8-build-failure-gcc-4.7
Created November 10, 2012 20:34
OpenJDK8 build failure with gcc 4.7
Compiling /home/hgomez/openjdkathome/sources/openjdk8/hotspot/src/share/vm/runtime/biasedLocking.cpp
Compiling /home/hgomez/openjdkathome/sources/openjdk8/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp
Compiling /home/hgomez/openjdkathome/sources/openjdk8/hotspot/src/share/vm/utilities/bitMap.cpp
/home/hgomez/openjdkathome/sources/openjdk8/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp: In instantiation of 'void AscendTreeCensusClosure<Chunk_t, FreeList_t>::do_tree(TreeList<Chunk_t, FreeList_t>*) [with Chunk_t = FreeChunk; FreeList_t = AdaptiveFreeList]':
/home/hgomez/openjdkathome/sources/openjdk8/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:1295:21: required from here
/home/hgomez/openjdkathome/sources/openjdk8/hotspot/src/share/vm/memory/binaryTreeDictionary.cpp:943:7: error: 'do_list' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/home/hgomez/openjdkathome/sources/openjdk8/hotspot/src/share/vm/
@hgomez
hgomez / openjdk8-build-failure-gcc-4.4.6-centos6-32bits
Created November 10, 2012 21:18
OpenJDK8 build failure with gcc 4.4.6 (CentOS 6.3 32bits)
'Java_sun_security_pkcs11_wrapper_PKCS11_C_1VerifyUpdate':
/home/cijenka/workspace/openjdk8/linux/centos6-i386-builder/sources/jdk/src/share/native/sun/security/pkcs11/wrapper/p11_sign.c:499: warning: cast to pointer from integer of different size
/home/cijenka/workspace/openjdk8/linux/centos6-i386-builder/sources/jdk/src/share/native/sun/security/pkcs11/wrapper/p11_util.c: In function 'putModuleEntry':
/home/cijenka/workspace/openjdk8/linux/centos6-i386-builder/sources/jdk/src/share/native/sun/security/pkcs11/wrapper/p11_util.c:109: warning: cast from pointer to integer of different size
/home/cijenka/workspace/openjdk8/linux/centos6-i386-builder/sources/jdk/src/share/native/sun/security/pkcs11/wrapper/p11_util.c: In function 'getModuleEntry':
/home/cijenka/workspace/openjdk8/linux/centos6-i386-builder/sources/jdk/src/share/native/sun/security/pkcs11/wrapper/p11_util.c:123: warning: cast to pointer from integer of different size
/home/cijenka/workspace/openjdk8/linux/centos6-i386-builder/sources/jdk/src/shar
@hgomez
hgomez / Openjdk8-build-failure-gcc-4.6.2-opensuse-12.1-64bits
Created November 10, 2012 21:32
OpenJDK8 build failure with gcc 4.6.2 - openSUSE 12.1 (64bits)
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/jdk/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c:101:7: warning: return makes integer from pointer without a cast [enabled by default]
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/jdk/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c:102:12: warning: return makes integer from pointer without a cast [enabled by default]
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/jdk/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c:103:10: warning: return makes integer from pointer without a cast [enabled by default]
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/jdk/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c: In function 'Java_sun_security_jgss_wrapper_GSSLibStub_deleteContext':
/home/cijenka/workspace/openjdk8/linux/opensuse12-x86_64-builder/sources/jdk/src/share/native/sun/security/jgss/wrapper/GSSLibStub.c:1187:41: warning: return ma
@hgomez
hgomez / dd-test-hp-envy-dv7
Created December 17, 2012 21:05
HD benchmark, HP Envy DV 7, 8Gb Hynix 1600Mhz, TOSHIBA MQ01ABD100 (AX001C) (1Tb/5400 rpm), Linux Mint 14 (64bits). Test script : https://gist.github.com/4321936
First Test :
testing pseudo-IO performances - 1st Pass
2048+0 records in
2048+0 records out
2147483648 bytes (2.1 GB) copied, 0.117199 s, 18.3 GB/s
testing IO write performances - 1st Pass
2048+0 records in
2048+0 records out
2147483648 bytes (2.1 GB) copied, 31.9513 s, 67.2 MB/s
@hgomez
hgomez / ssd-test-hp-envy-dv7
Last active December 10, 2015 04:18
HD benchmark, HP Envy DV 7, 16Gb GSkill 1600Mhz (CAS10), OCZ Vertex 4 (256Gb SSD), Linux Mint 14 (64bits). Test script : https://gist.github.com/4321936
testing pseudo-IO performances - 1st Pass
2048+0 records in
2048+0 records out
2147483648 bytes (2.1 GB) copied, 0.106028 s, 20.3 GB/s
testing IO write performances - 1st Pass
2048+0 records in
2048+0 records out
2147483648 bytes (2.1 GB) copied, 5.51817 s, 389 MB/s
testing IO read performances - 1st Pass
2048+0 records in
@hgomez
hgomez / gist:4397622
Created December 28, 2012 13:03
HD benchmark, HP Envy DV 7, 16Gb GSkill 1600Mhz (CAS10), TOSHIBA MQ01ABD100 (AX001C) (1Tb/5400 rpm) in IcyBox USB 3.0, Linux Mint 14 (64bits). Test script : https://gist.github.com/4321936
testing pseudo-IO performances - 1st Pass
2048+0 records in
2048+0 records out
2147483648 bytes (2,1 GB) copied, 0,288648 s, 7,4 GB/s
testing IO write performances - 1st Pass
2048+0 records in
2048+0 records out
2147483648 bytes (2,1 GB) copied, 21,9027 s, 98,0 MB/s
testing IO read performances - 1st Pass
2048+0 records in
@hgomez
hgomez / upload2bintray.sh
Last active March 24, 2017 08:58
Sample script to upload RPM package to bintray
#!/bin/sh
#
# You should define BINTRAY_ACCOUNT and BINTRAY_APIKEY here or from the outside
# BINTRAY_ACCOUNT is you Bintray account and BINTRAY_APIKEY, API Key generated under your Bintray profile
# Redefine following variables to match your own usage
RPMS_DIR=RPMS/noarch
BINTRAY_ACCOUNT=hgomez
BINTRAY_REPO=devops-incubator-rpm
@hgomez
hgomez / buildhive-script.sh
Created January 4, 2013 00:19
Script used in BuildHive to packages devops-incubator packages and deploy them to bintray
#!/bin/sh
#
BINTRAY_USER=hgomez
BINTRAY_APIKEY=thisissecretofcourse
for PKGS in crash jstatd-daemon myarchiva myartifactory mygitblit myjenkins mynexus mysonar; do
pushd rpm-packaging/$PKGS
./build.sh