8000 Merge intel_mp into next by eugeneia · Pull Request #1086 · snabbco/snabb · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Merge intel_mp into next #1086

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 43 commits into from
Dec 16, 2016
Merged

Merge intel_mp into next #1086

merged 43 commits into from
Dec 16, 2016

Conversation

eugeneia
Copy link
Member
@eugeneia eugeneia commented Dec 7, 2016

Includes: #897

Cc @petebristow @lukego

…ometimes it runs slow in absolute terms which needs timeline for further investigation, hence the 400000pps test. The test was written on a very fast consumer CPU rather than a slower per core server CPU, 200000 should pass on E5 chips ok
petebristow and others added 13 commits November 23, 2016 13:18
The timer() function now sets its new deadline based on the current time
rather than the previous deadline. This is more consistent with the
documentation and prevents timeouts from being "saved up" in the style
of a token bucket when the timer is not called for a period of time.
These are convenience functions for the most common timer use cases.

timeout(seconds) returns true after the time has elapsed.
throttle(seconds) returns true at regular intervals.
Fix a problem where engine.now() could return a stale value if the
engine is not running i.e. timestamp of the last breath.

Now the engine only uses its cached time value while the breathe loop is
active and otherwise it fetches the current time from the time source.

(Could also consider always returning the latest time without caching
but this would potentially make engine.now() too expensive...?)
This function is unused due to the previous commits.
…xported, mac address is export via a counter
# Conflicts:
#	src/apps/intel_mp/intel_mp.lua
@lukego lukego merged commit 383b4c4 into snabbco:next Dec 16, 2016
lukego added a commit that referenced this pull request Dec 16, 2016
@lukego
Copy link
Member
lukego commented Dec 16, 2016

Merged, thanks!

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

Successfully merging this pull request may close these issues.

3 participants
0