In a previous post we described our work on a new netmap mode called single-rx-queue.
After submitting the pull request, the netmap maintainers told us that the patch was interesting, but they would prefer something more configurable instead of a tailored custom mode.
After an exchange of ideas and some more work, our patch just got merged to mainline netmap.
Before our patch netmap used to be an all-or-nothing deal. That is: there was no way to put a network adapter partially in netmap mode. All of the queues would have to be detached from the host network stack. Even a netmap mode called “single ring pair” didn't help.
Our final patch is extended and more generic, while still supporting the simple functionality of our original single-rx-queue mode.
First we modified netmap to leave queues that are not explicitly requested to be in netmap mode attached to the host stack. In this way, if a user requests a pair of rings (for example using nm_open(“netmap:eth0-4”)
) it will actually get a reference to both the number 4 RX and TX rings, while keeping the other rings attached to the kernel stack.
But since the NIC is Continue reading
Working as an IT Architect often requries fast evaluation of the projects costs to make a rapid judgement on whether the costs exceed the benefit. Most of the time I use a spreadsheet to quickly lay out costs and decide whether it passes the sniff test for ROI. More recently I started using Soulver. Here […]
The post OS X: Using Soulver for Fast Design appeared first on EtherealMind.
The number of visits to my web site is slowly going down – you’re giving me a very clear signal that it’s time to stop blogging.
I hope you’ll manage to catch at least a few quiet days with your loved ones and I wish you all the best in 2016!
More in 3 weeks or so ;)
cumulus@cumulus$ smonctl -jThe following Python script, smon_sflow.py, invokes the command, parses the output, and posts a set of custom sFlow metrics:
[
{
"pwm_path": "/sys/devices/soc.0/ffe03100.i2c/i2c-1/1-004d",
"all_ok": "1",
"driver_hwmon": [
"fan1"
],
"min": 2500,
"cpld_path": "/sys/devices/ffe05000.localbus/ffb00000.CPLD",
"state": "OK",
"prev_state": "OK",
"msg": null,
"input": 8998,
"type": "fan",
"pwm1": 121,
"description": "Fan1",
"max": 29000,
"start_time": 1450228330,
"var": 15,
"pwm1_enable": 0,
"prev_msg": null,
"log_time": 1450228330,
"present": "1",
"target": 0,
"name": "Fan1",
"fault": "0",
"pwm_hwmon": [
"pwm1"
],
"driver_path": "/sys/devices/soc.0/ffe03100.i2c/i2c-1/1-004d",
"div": "4",
"cpld_hwmon": [
"fan1"
]
},
...
#!/usr/bin/env python
import json
import socket
from subprocess import check_output
res = check_output(["/usr/sbin/smonctl","-j"])
smon = json.loads(res)
fan_maxpc = 0
fan_down = 0
fan_up = 0
psu_down = 0
psu_up = 0
temp_maxpc = 0
temp_up = 0
temp_down = 0
for s in smon:
type = s["type"]
if(type == Continue reading
Oracle expects 2016 profits to soar as it moves more of its business to the cloud.
AlcaLu and Red Hat partner on this one.
Take survey and enter to win one of two $200 Amazon Gift Cards.
Padmasree Warrior’s new job will pit her against Telsa Motors and other electric vehicle manufacturers.
Boise, Idaho, is your new SD-WAN powerhouse.
The Datanauts talk about their home lab setups, including issues with location, noise, and power consumption. They also examine cloud and online options, and discuss the surprising amount of lab work you can do with just a laptop.
The post Datanauts 018: Learning With Home Labs, Cloud Labs & More appeared first on Packet Pushers.
The Datanauts talk about their home lab setups, including issues with location, noise, and power consumption. They also examine cloud and online options, and discuss the surprising amount of lab work you can do with just a laptop.
The post Datanauts 018: Learning With Home Labs, Cloud Labs & More appeared first on Packet Pushers.
The post Worth Reading: Grumpy old network architects appeared first on 'net work.