Giter VIP home page Giter VIP logo

Comments (6)

convolvatron avatar convolvatron commented on July 18, 2024

i'm afraid this was intensional. without kvm we have no translation between rdtsc and
actual seconds. andrii did the first part of #24 which was to try to determine if
kvm was providing the right scaling factor for us.

the second part was to use a different time source so that we could function without hpet, which he's looking at

oddly, running without kvm seems to work. any tcp timers must be totally out of whack. i guess if there are no losses...

from nanos.

wjhun avatar wjhun commented on July 18, 2024

Oh, I see. But for me it's not working without kvm.

Maybe this should stay in a topic branch until it works enough to not break for the common case? Not that I can't start using kvm, but running without it shouldn't be broken in master.

from nanos.

talshadow avatar talshadow commented on July 18, 2024

@wjhun
I can suggest mark as comment this line for your test.
/uniboot/x86_64/clock.c:59

from nanos.

convolvatron avatar convolvatron commented on July 18, 2024

sorry, I was totally unclear. kvm provides the clock scaling factors, so running with lvm is safe.

andrii committed a change in response to #24 which halts if the scaling factor isn't set.

without the scaling factor the clock/timers make no sense, so this seemed reasonable.

could just set the halt back to a console

in order to get a decent clock in non-kvm, we need to write a driver.

from nanos.

talshadow avatar talshadow commented on July 18, 2024

I think this issue we can close?

from nanos.

wjhun avatar wjhun commented on July 18, 2024

Yes, thank you.

from nanos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.