Skip to content
This repository has been archived by the owner on Feb 8, 2021. It is now read-only.

cannot find vsock device #347

Open
gogolxdong opened this issue Dec 4, 2017 · 7 comments
Open

cannot find vsock device #347

gogolxdong opened this issue Dec 4, 2017 · 7 comments
Assignees

Comments

@gogolxdong
Copy link

cannot find vsock device
scan /sys/class/virtio-ports/ failed: No such file or directory
cannot find ctl channel
fail to setup hyper serial channel

@bergwolf
Copy link
Member

bergwolf commented Dec 5, 2017

vsock device probing is adaptive and its failure does not affect hyperstart starting up. The issue here is missing serial port.

@gogolxdong can you please describe a bit how you got the error? Namingly,

  1. Which hypervisor are you using?
  2. Are you running with runv directly or using hyperd?
  3. Please paste all console logs

@gogolxdong
Copy link
Author

Using default qemu hypervisor with hyperd ,whole console logs is the result of running hyperstart.
It seems working now , don't know where is the trick. Another concern is the tty console allocated seems fixed height and width not adjusting to the host console enough.

@bergwolf
Copy link
Member

bergwolf commented Dec 6, 2017

@gogolxdong are you running without kvm support? We used to see a similar issue on travis and it was related to guest clock drifting.

@gogolxdong
Copy link
Author

With kvm support. I found another issue which result in hyperctl ERROR: Error from daemon's response: hyperstart closed once specified cpu exceed 8 cores and performance test via wrk -t12 -c400 -d30s http://192.168.123.2 didn't improve linearly as cpu cores increased from 4 to 8 and memory from 8192 to 10240 as expected.

@bergwolf
Copy link
Member

bergwolf commented Dec 6, 2017

@gogolxdong Current max cpu is 8 and it is hard coded in both hyperstart and runv right now.

@gogolxdong
Copy link
Author

gogolxdong commented Dec 6, 2017

Is it necessary to set CONFIG_NR_CPUS=8 ,will it be unlimited and how ?
How to explain performance didn't imporve as cpu cores increased from 4 to 8 and memory from 8192 to 10240 as expected ,not linearly but it's even or a little worse.

@bergwolf
Copy link
Member

bergwolf commented Dec 6, 2017

also DefaultMaxCpus in runv. Then you'll need to build your self a kernel and build hyperd.

Performance depends on many things not just cpu and memory. More CPU can mean more lock contentions and cache line bouncing for your test program.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants