1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00

improve README

This commit is contained in:
Simon Pickartz 2016-08-02 10:22:14 +02:00
parent 6d8d6ee2ad
commit 6fcdead1b9

View file

@ -6,8 +6,10 @@ By starting HermitCore applications, cores will be split off from the Linux syst
This approach achieves a lower OS jitter and a better scalability.
HermitCore applications and the Linux system can communicate via an IP interface (e.g. inter-kernel communication).
HermitCore could be also used as classical standalone unikernel, which reduces the demand on resources and improves the boot time.
It is the result of a research project at RWTH Aachen University and is currently an experimental approach, i.e. not production ready. Please use it carefully.
HermitCore can be used as classical standalone unikernel as well.
This reduces the demand on resources and improves the boot time.
It is the result of a research project at RWTH Aachen University and is currently an experimental approach, i.e., not production ready.
Please use it with caution.
## Requirements
@ -52,15 +54,15 @@ The demo applications are stored in their subdirectories `hermit/usr/{tests,benc
## HermitCore as classical standalone unikernel
HermitCore applications could be directly started within a virtual machine.
HermitCore applications can be directly started within a virtual machine.
Currently, a file system is missing and a UART device is used as output device.
In the upcoming example, the console is redirected to the local host at port 4555.
To view the messages, *netcat* has to be started and to listen on port 4555.
In the following example, the console is redirected to the local host at port 4555.
To view the messages, *netcat* has to be started listening on port 4555.
```
nc -l 4555
```
Afterwards, a virtual machine has to be initialized, which used the HermitCore loader (`hermit/arch/x86/loader/ldhermit.elf`) to load HermitCore binaries as initrd.
No modifications to the binary are needed!
The described procedure does not require any modifications to the binary!
```
qemu-system-x86_64 -machine accel=kvm -cpu host -smp 10 -m 4G -kernel hermit/arch/x86/loader/ldhermit.elf -initrd hermit/usr/benchmarks/stream \
-net nic,model=rtl8139 -net user -net dump \