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

cannot find vsock device #347

Open
Open

Description

@lbcheng888

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

Activity

  1. bergwolf commented on Dec 5, 2017

    @bergwolf
    Member

    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
  2. lbcheng888 commented on Dec 5, 2017

    @lbcheng888
    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.

  3. bergwolf commented on Dec 6, 2017

    @bergwolf
    Member

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

  4. lbcheng888 commented on Dec 6, 2017

    @lbcheng888
    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.

  5. bergwolf commented on Dec 6, 2017

    @bergwolf
    Member

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

  6. lbcheng888 commented on Dec 6, 2017

    @lbcheng888
    Author

    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.

  7. bergwolf commented on Dec 6, 2017

    @bergwolf
    Member

    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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions