-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ramdisk to AIX machines #661
Comments
So we're starting with |
If we go ahead with this, we need to make sure we update the Ansible script (and temporarily the manual instructions). |
okay so running citgm on the ramdisk was much quicker (less than 20 minutes) |
Commands to add the ramdisk: mkramdisk 4G
mkfs -V jfs2 /dev/ramdisk0
mkdir -p /ramdisk0
mount -V jfs2 -o log=NULL /dev/ramdisk0 /ramdisk0
mkdir /ramdisk0/citgm
chown /ramdisk0/citgm iojs |
From googling, this seems to be the easiest way to mount the ramdisk at startup: @edelsohn @mhdawson echo 'ramdisk:2:once:/usr/local/bin/ramdisk/ramdisk.ksh >/dev/null 2>&1' \
>/usr/local/bin/ramdisk/ramdisk.ksh ramdisk.kshRAMDISK=`mkramdisk 5G`
mkdir /ramdisk0 >/dev/null 2>&1
DEVICE="/dev/ramdisk`echo $RAMDISK | awk -F'ramdisk' '{print $2}'`"
echo "yes" | mkfs -V jfs2 $DEVICE
mount -V jfs2 -o log=NULL $DEVICE /ramdisk0
mkdir /ramdisk0/citgm
chown iojs /ramdisk0/citgm |
@gdams, ramdisk.ksh seems to say '5M" is that correct or should it be 5G ? A pull request against the build repo, adding ramdisk.ksh and updates to the ansible scripts to make it run on startup would be the best way to review |
Oh sorry, it looks like @gibfahn edited my comment, take the configuration from the above comment that mentions 4G |
I copied that verbatim from the linked website. I've changed that to |
I also added the same config to power8-aix-nodejs3.osuosl.org (a.k.a. |
@gdams any chance you could PR this to the setup instructions? |
On the adoptopenjdk infrastructure, I've created ksh scrip AIX_ramdisk.ksh and updated aix.yml to call it. It adds a 4Gb ramdisk, provided the ram is available. |
I'm looking at completing this task by adding the ramdisk entries, but I'm not sure what to do about /home/iojs/build/tools/jython (jython is the only thing in tools). I don't know if its used, or what job creates it, or if it was created manually. @nodejs/platform-aix If anyone has any ideas, please tell me. I've search the config for a few of the jobs that have run on aix recently (citgm smoker, test-commit-aix, etc) and find no reference to tools or jython. I just did |
I unified ramdisk setup on the AIX machines. |
Following issues with citgm being particularly slow, I am going to add a ramdisk to power8-aix-nodejs2.osuosl.org to see if this helps increase performance.
cc/ @mhdawson @gibfahn
The text was updated successfully, but these errors were encountered: