Code Monkey home page Code Monkey logo

interruptor's Introduction

Usage

edit: This was all due to a cpu erratum, derp derp!

This driver produces unexpected results on E5-2650, i7-6700.

Ubuntu with linux kernels 4.6.4, 4.8.0, and 4.10.x. Most testing done on Ubuntu 4.6.4.

Expected: Always 0

E5-2650 Result: 0, 1, 2, ..., up to 19 and occasionally higher

i7-6700 Result: 0, 118, 119

E5-1650 Result: 0

When correct, the driver will not produce any messages in dmesg.

When the branch count is > 0, it will produce a message "interruptor: %d" where %d is the non-zero value detected.

Building

make

Inserting the driver

sudo insmod interruptor.ko

Generating incorrect results

Launch tester and rtcspikers for each logical cpu.

sudo su

./tester &

./tester &

./tester &

./tester &

./tester &

./tester &

./tester &

./tester &

./rtcspiker &

./rtcspiker &

./rtcspiker &

./rtcspiker &

./rtcspiker &

./rtcspiker &

./rtcspiker &

./rtcspiker &

Results

Expected: Always 0, no output in dmesg.

E5-2650: common 1s and 2s - dmesg output "interruptor: 1"

i7-6700: occasional 118s and 119s - dmesg output "interruptor: 118"

interruptor's People

Contributors

gourryinverse avatar gmprice avatar

Watchers

 avatar

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.