Skip to content

Zoeyzyzyzy/CS263-Project

Repository files navigation

CS263-Project

Team Members: Zeyu Wang, Jing Peng

Week 1

  • prepare JVM related files
  • learn to write benchmarks

Week 2

  • find test games in java

Week 3

  • build docker of GraalVM, azul, HotSpot, OpenJ9

Week 4

  • deploy application in docker
  • learn to use time in java to record execution time

creating JAR from .java -- InteliJ

docker start guide

  • docker create and run a new container with specific image
docker run -i -t --name CONTAINER_NAME IMAGE_ID bash
  • docker create container with specific image
docker container create -i -t --name MY_CONTAINER_NAME IMAGE_NAME
  • docker create container with specific image and limit memory & CPU(eg:512m, cpus)
 docker run -i -t -m 512m --cpus=2 --name  MY_CONTAINER_NAME IMAGE_ID bash 
  • copy jar/java file to container
$ docker cp filepath/xxx container_id:/filepath/xxx
  • start container
$ docker start container_id
  • enter container
$ docker exec -it jre11-hotspot bash 
  • runtime check
$ time java -jar xxx.jar
$ time java xxx.java
  • GC check
//for hotspot
java -verbose:gc -Xms10M -Xmx10m -XX:+PrintGCDetails Main.java
//if convert Main.java to Main, then it will not print GC while compile .java to .class

Commonly used docker command

  • ls active container
docker container ls
  • container status
docker stats container_name
  • all container status
docker container stats

How to install top/vim in Graalvm

yum install procps/vim

TODO: need update knucleotide & regexredux & revcomp 11.26 2:47 am

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published