i am fresh man in osv, and i have a question about it;
if we have some dyminic library .so, i want to how to run?
for example, a.so have main enter, and it want to call the func_b()
in b.so(we don't want to recompile it)
a.c --->a.so
extern void func_b(void)
void main(void)
{
...
func_b();
2017-11-28 19:56 GMT+08:00 wang Yu :
> i am fresh man in osv, and i have a question about it;
> if we have some dyminic library .so, i want to how to run?
> for example, a.so have main enter, and it want to call the func_b()
> in b.so(we don't want to recompile it)
> a.c --
now i use curl -X POST http://192.168.122.89:8000/file/js.jar
-Fname=@js.jar to upload the js.jar to osv "/"
and i want to download/get js.jar, how i do?
i try curl -X GET http://192.168.122.89:8000/file/js.jar, but failed
--
You received this message because you are subscribed to the Google Gr
2018-01-18 11:11 GMT+08:00 wang Yu :
> now i use curl -X POST http://192.168.122.89:8000/file/js.jar
> -Fname=@js.jar to upload the js.jar to osv "/"
>
> and i want to download/get js.jar, how i do?
> i try curl -X GET http://192.168.122.89:8000/file/js.jar, but failed
cu
i have cut some nouse option, i.e. zfs
but the startup time about 110ms, i want to < 50ms, how to optimize it?
OSv v0.24-479-g7ce5eb7
1 CPUs detected
Firmware vendor: Seabios
console=serial
bsd: initializing - done
VFS: mounting ramfs at /
VFS: mounting devfs at /dev
net: initializing - do
fter patch,
...
disk read (real mode): 50.71ms, (+50.71ms)
TLS initialization: 83.72ms, (+33.01ms)
.init functions: 89.20ms, (+5.48ms)
SMP launched: 90.56ms, (+1.36ms)
VFS initialized: 95.76ms, (+5.20ms)
...
Signed-off-by: Wang Yu
---
include/osv/b
fter patch,
...
disk read (real mode): 50.71ms, (+50.71ms)
TLS initialization: 83.72ms, (+33.01ms)
.init functions: 89.20ms, (+5.48ms)
SMP launched: 90.56ms, (+1.36ms)
VFS initialized: 95.76ms, (+5.20ms)
...
Signed-off-by: Wang Yu
---
include/osv/b
: 82.69ms, (+5.04ms)
SMP launched: 83.72ms, (+1.03ms)
VFS initialized: 88.67ms, (+4.95ms)
...
Signed-off-by: Wang Yu
---
arch/x64/arch-setup.cc | 5 +
arch/x64/boot16.S | 7 ++-
include/osv/boot.hh| 2 +-
loader.cc | 2 +-
4 files changed, 13
no one review?
在 18/4/9 下午8:37, Wang Yu 写道:
before patch boot with --bootchart, "TLS initialization"
is not output
...
disk read (real mode): 50.71ms, (+50.71ms)
.init functions: 89.20ms, (+5.48ms)
SMP launched: 90.56ms, (+1.36ms)
VFS i
pls review
在 18/4/9 下午8:46, Wang Yu 写道:
sometimes i found uncompres cost serival times,
so add boot_time event of uncompress lzloader.elf
after patch
...
disk read (real mode): 45.09ms, (+45.09ms)
uncompress lzloader.elf: 76.90ms, (+31.81ms)
TLS initialization
在 18/4/12 上午10:22, Waldek Kozaczuk 写道:
Hi.
I reviewed this and other patch and replied on the the mailing list. Have my
replies not reached you ?.
I haven't recieved it, maybe i am not in the mail list, and you re send
reviewed mail to me?
--
You received this message because you are subs
boot_time.event("TLS initialization");
+debug("After TLS initialization");
+boot_time.event(2, "TLS initialization");
for (auto init = inittab.start; init < inittab.start +
inittab.count; ++init) {
(*init)();
}
Waldek
On Monday, Apri
fter patch,
...
disk read (real mode): 50.71ms, (+50.71ms)
TLS initialization: 83.72ms, (+33.01ms)
.init functions: 89.20ms, (+5.48ms)
SMP launched: 90.56ms, (+1.36ms)
VFS initialized: 95.76ms, (+5.20ms)
...
Signed-off-by: Wang Yu
Signed-off-by: Walde
: 82.69ms, (+5.04ms)
SMP launched: 83.72ms, (+1.03ms)
VFS initialized: 88.67ms, (+4.95ms)
...
Signed-off-by: Wang Yu
---
arch/x64/arch-setup.cc | 5 +
arch/x64/boot16.S | 7 ++-
include/osv/boot.hh| 2 +-
loader.cc | 2 +-
4 files changed, 13
: 82.69ms, (+5.04ms)
SMP launched: 83.72ms, (+1.03ms)
VFS initialized: 88.67ms, (+4.95ms)
...
Signed-off-by: Wang Yu
---
arch/x64/arch-setup.cc | 5 +
arch/x64/boot16.S | 7 ++-
include/osv/boot.hh| 2 +-
loader.cc | 2 +-
4 files changed, 13
fter patch,
...
disk read (real mode): 50.71ms, (+50.71ms)
TLS initialization: 83.72ms, (+33.01ms)
.init functions: 89.20ms, (+5.48ms)
SMP launched: 90.56ms, (+1.36ms)
VFS initialized: 95.76ms, (+5.20ms)
...
Signed-off-by: Wang Yu
Signed-off-by: Walde
1、scripts/build image=mysql
2、scripts/run.py -nv to start mysql server on osv
OSv v0.24-511-ge60339d eth0: 192.168.122.76
3、on host i use mysqlslap to test the benchmark
mysqlslap -h 192.168.122.76 -P 3306 --concurrency=100--iterations=1
--create-schema='mysql' --query='select * from user;'
--
17 matches
Mail list logo