Skip to content
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

Updates #4

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 1 addition & 22 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,22 +1 @@
MIT License

Copyright (c) 2022 noslate-project

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

MIT OR Apache-2.0
28 changes: 0 additions & 28 deletions LICENCE → LICENSE.Apache-2.0
Original file line number Diff line number Diff line change
@@ -1,30 +1,3 @@
Our repo is licensed for use as follows:

"""
MIT License

Copyright (c) <2023-2023> Intel Corporation

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
"""

"""
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
Expand Down Expand Up @@ -201,4 +174,3 @@ SOFTWARE.
of your accepting any such warranty or additional liability.

END OF TERMS AND CONDITIONS
"""
22 changes: 22 additions & 0 deletions LICENSE.MIT
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
MIT License

Copyright (c) <2022-2023> Noslate Project
Copyright (c) <2023-2023> Intel Corporation

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
This is the user guide to install the Base64 Encoding benchmark

```

ARG BASIC_IMAGE=
FROM ${BASIC_IMAGE}

Expand All @@ -21,4 +17,3 @@ COPY ./scripts/common.js /home/ubuntu/work/common.js
COPY ./scripts/perf_module_breakdown.py /home/perf_module_breakdown.py

RUN npm install -g npm
```
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
This is the user guide to install the FaaS Function Computing Framework Startup benchmark

```
# Usage: FROM [image name]
ARG BASIC_IMAGE=
FROM ${BASIC_IMAGE}
Expand Down Expand Up @@ -36,4 +33,3 @@ COPY --chown=${USERNAME}:root ./common/package.json /home/${USERNAME}/
COPY --chown=${USERNAME}:root ./common/quickrun.sh /home/${USERNAME}/

RUN npm install
```
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
This is the user guide to install the FaaS Function Computing Framework Startup benchmark, and apply the opt of bytecode cache to reduce the start up time.
```

# Usage: FROM [image name]
ARG BASIC_IMAGE=
FROM ${BASIC_IMAGE}
Expand Down Expand Up @@ -37,4 +34,3 @@ COPY --chown=${USERNAME}:root ./common/quickrun_allcache.sh /home/${USERNAME}/qu
COPY --chown=${USERNAME}:root ./common/allcache.js /home/${USERNAME}/

RUN npm install
```
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
This is the user guide to install and apply BOLT optimization for Node.js. This opt can make node.js obtaining branch opt information for all supported workloads so as to run workloads faster.

```

FROM ubuntu:22.04

ENV USERNAME="ubuntu"
Expand Down Expand Up @@ -154,7 +150,3 @@ RUN ninja bolt && ninja merge-fdata
WORKDIR /home/${USERNAME}
RUN sudo -E apt-get update && sudo -E apt-get upgrade -y && sudo -E apt-get install -y linux-tools-`uname -r`
COPY --chown=${USERNAME}:root start.sh /home/${USERNAME}/start.sh
```

Please be noted the ghost workload needs DB to be prepared ahead of time. As in the user manual document in ghost folder, you need to fill in some data in the DB.
You need to copy the `ghost.dump` and put the file into `genererate_bolt/common` folder.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To make the dockerfile workable, please also prepare the ghost.dump file and put in the folder.

Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
This is the user guide to install and apply PGO optimization for Node.js. This opt can make node.js obtaining branch opt information for all supported workloads so as to run workloads faster.

```

FROM ubuntu:22.04

ENV USERNAME="ubuntu"
Expand Down Expand Up @@ -138,8 +134,3 @@ RUN CC='gcc -no-pie -fno-PIE -fno-reorder-blocks-and-partition -fcf-protection=n

WORKDIR /home/${USERNAME}
COPY --chown=${USERNAME}:root start.sh /home/${USERNAME}/start.sh
```


Please be noted the ghost workload needs DB to be prepared ahead of time. As in the user manual document in ghost folder, you need to fill in some data in the DB.
You need to copy the `ghost.dump` and put the file into `genererate_pgo/common` folder.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To make the dockerfile workable, please also prepare the ghost.dump file and put in the folder.

Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
This is the user guide to download Ghost workload from public repo, and build the https working mode. It also downloads the ab tools as the client, and install the necessary DB as required by ghost official website.

```
ARG BASIC_IMAGE="node:latest"
FROM ${BASIC_IMAGE}

Expand Down Expand Up @@ -137,4 +134,3 @@ WORKDIR /home/${USERNAME}/Ghost

ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
CMD [ "bash" ]
```
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
This is the user guide to download Ghost workload from public repo, and build the https working mode with Async Ngnix web server to do load balance and https request decryption.

```

ARG BASIC_IMAGE=

####################################################################
Expand Down Expand Up @@ -208,4 +204,3 @@ WORKDIR /home/${USERNAME}/Ghost

ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
CMD [ "bash" ]
```
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
This is the user guide to download and build Node.js. The Node.js repos and branchs are configured in framework.

```
ARG BASIC_IMAGE="ubuntu:22.04"
FROM ${BASIC_IMAGE}

Expand Down Expand Up @@ -70,5 +67,3 @@ RUN ./apply_bolt.sh ${BOLT_USE} ${LLVM_VERSION} ${LLVM_URL} ${BOLT_FILE}

WORKDIR /home/ubuntu/work
CMD /usr/local/bin/node

```
11 changes: 11 additions & 0 deletions workloads/ssr-calcom/client/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM ubuntu:22.04

WORKDIR /

RUN apt-get update && apt-get upgrade -y && apt-get install -y apache2-utils
# RUN apt-get install -y nghttp2-client

WORKDIR /home

COPY docker-entrypoint.sh ./docker-entrypoint.sh
RUN ["chmod", "+x", "/home/docker-entrypoint.sh"]
30 changes: 0 additions & 30 deletions workloads/ssr-calcom/client/user_guilde.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
This is the user guide to download SSR workload and compose the Dockerfile for server side of v2.5.5 if you are using lower version of Node.js.

Please be noted that the version will be picked up automatically by the framework depending on the Node.js version in use.

```
ARG BASIC_IMAGE="node:latest"
FROM ${BASIC_IMAGE} as node-stage
RUN cp -r /usr/local /home/
Expand Down Expand Up @@ -52,6 +47,3 @@ RUN apt install -y python2 linux-tools-`uname -r`
WORKDIR /calcom/cal.com
EXPOSE 3000
EXPOSE 5432
```

In this folder, we also provides some py and sh script to seamlessly run and profile this workload.
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
This is the user guide to download SSR workload and compose the Dockerfile for server side of v2.5.5 if you are using lower version of Node.js.

Please be noted that the version will be picked up automatically by the framework depending on the Node.js version in use.

``
# The basic os must be ubuntu:22.04
ARG BASIC_IMAGE="node:latest"
FROM ${BASIC_IMAGE}
Expand Down Expand Up @@ -50,7 +45,3 @@ RUN apt install -y python2 linux-tools-`uname -r`
WORKDIR /calcom/cal.com
EXPOSE 3000
EXPOSE 5432

```

In this folder, we also provides some py and sh script to seamlessly run and profile this workload.
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
This is the user guide to download webtooling workload and compose the Dockerfile:

```
# Set up an Ubuntu image with 'web tooling' installed
ARG BASIC_IMAGE="node:latest"
FROM ${BASIC_IMAGE}
Expand Down Expand Up @@ -41,6 +38,3 @@ COPY ./common/breakdown.sh /home/ubuntu/web-tooling-benchmark/breakdown.sh
COPY ./common/perf_module_breakdown.py /home/ubuntu/web-tooling-benchmark/perf_module_breakdown.py

WORKDIR /home/ubuntu/web-tooling-benchmark/
```

In this folder, we also provides some py and sh script to seamlessly run and profile this workload.