Comments (5)
Hi @aghari19 , this seems to be related to another issue #3. Could you:
- make sure you are in ghOSt kernel (
uname -a
) - run
make headers_install INSTALL_HDR_PATH=/usr
in theghost-kernel
's directory - check whether you see the declaration for enum bpf_stats_type in /usr/src/linux-headers-VERSION/include/uapi/linux/bpf.h? Replace VERSION in the path with the ghOSt kernel version (5.11 or so).
from ghost-userspace.
Hello @dohyunkim-dev
Thank you for your pointers. I rebuilt the system and ran the make command and was able to successfully build the user-space.
However, soon after I run into the following issue when I run the following command:
bazel-bin/fifo_per_cpu_agent --ghost_cpus 0-1
from ghost-userspace.
Hello,
It appears that you may not have the ghOSt kernel installed, or if you do, then perhaps CONFIG_SCHED_CLASS_GHOST
was not set.
To check if the ghOSt kernel was installed with ghOSt enabled, can you let me know if you see the ghost
directory under /sys/fs
?
Thanks,
Jack
from ghost-userspace.
Hello Jack,
Yes, I think the ghost kernel was not installed or if it did it was not proper. I do not see the ghost directory under /sys/fs and when I looked for the CONFIG_SCHED_CLASS_GHOST in the .config file it was not set.
I see this in the config file.
While configuring the kernel do you recommend doing 'make menuconfig' and enabling the ghost class or doing 'make defconfig'.
I have been doing defconfig all this while. Please let me know,
Thank you,
Haritha
from ghost-userspace.
Hi aghari19, sorry for the delayed response. As long as you can get the setting that works, you can use either menuconfig or defconfig. I personally use ./scripts/config --enable CONFIG_SCHED_CLASS_GHOST before doing make
to make sure ghOSt is properly configured for compilation. Marking this thread as closed, but feel free to reopen and follow up if you have any further questions.
from ghost-userspace.
Related Issues (20)
- Scheduling other benchmarks like deathstarbench HOT 1
- bazel build error about platforms HOT 1
- When running 'sudo bazel-bin/pushtosched 18', I encountered an error: sched_setscheduler(1) failed: Bad file descriptor'" HOT 3
- I don't know whether it can run normally in wsl, or if anyone has had similar experience HOT 1
- BPF verifier rejects `biff.bpf.c` HOT 3
- how to run rocksdb application by two steps and test it ? HOT 1
- How to add a custom scheduler? Is it possible for me to get some help? HOT 11
- some question about switchTo and Latched HOT 2
- An error when moving thread to agent_shinjuku HOT 1
- The origin of the biff_bpf.skel.h file HOT 1
- Questions about enclave HOT 1
- Fail to run the shinjuku.py for a "IsADirectoryError" HOT 2
- questions about MSG_TASK_ON_CPU HOT 1
- Forcibly closing the agent while program running on enclave HOT 1
- How can i check the application actually run on the ghost? HOT 1
- The ghost is support docker application as well ? HOT 1
- Questions about running multiple concurrent policies on a single machine using multiple enclaves. HOT 3
- How to check the scheduling time slice of the scheduling algorithm in Ghost?
- How to upgrade scheduling policies dynamically
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ghost-userspace.