RSSAmplifier

Blog

Michele's Blog

C2A5 9DA3 9961 4FFB E01B D0BC DDD4 DCCB 7515 5C6D

acksyn.orgRSS feed ↗10 posts

Latest posts

In Memory of Daniel Bristot de Oliveira

This post falls in the category of things I never thought nor wanted to write: we lost Daniel this week due to some probable heart failure. I met Daniel in Red Hat's internal IRC #italy channel. It must have been around 2014-2015. We were both in support engineering at the time and we chatted about some kernel issues, but on the side we started chatting about music, sports, life and everything…

TripleO on NUCs

Being a happy owner of a couple of Intel DC53427HYE NUCs NUCs, I decided I would install TripleO on them. My setup consists of the following: Undercloud (nuc1.int.rhx) with two interfaces (the internal eno1 connected to my home LAN- 172.16.11.0/20 and an additional USB-Ethernet dongle enp0s29u1u5u1 which is connected to a separate segment where the other two NUCs are connected- 192.0.2.0/24 ) Two…

Running Fedora MIPS

There is an ongoing effort to revive Fedora for MIPS . In order to get a glimpse of this work in QEMU, do the following: Download the qcow mipsel64el image here Download the kernel here Run your MIPS qemu instance as follows (note that I use a bridge called vnet0 on my host): qemu - system - mips64el - M malta \ - cpu 5 KEc \ - m 2048 \ - kernel vmlinux -3.19.3 . mtoman .20150408 \ - drive file =…

Performance Monitoring with PCP and Vector

Update: FchE notes that the pcp-webapp-vector package is already part of Fedora, instructions amended Netflix recently announced their new Vector open-source monitoring tool. Vector uses Perfomance Co-Pilot as a framework to fetch and manage metrics and provides a nice web GUI on top of it. Installation The following steps are tested on Fedora 22 (or a pre-release of it in this case). First let's…

Terminal Calendaring Application

As an avid mutt-kz user, I always found it quite annoying to have to use a web browser or my phone to check out my work calendar or upcoming birthdays. I have slowly started to use khal which is shaping up to be a very nice calendaring application for use within terminals: For Fedora users I have created a COPR repo. As root, simply run: dnf copr enable mbaldessari/khal and then launch: dnf…

Performance Analysis with Performance Co-Pilot, iPython and pandas

Introduction One of many reasons to love Performance Co-Pilot , is the fact that it is a fully fledged framework to do performance analysis. It makes it extremely simple to extend and to build anything on top of it. In this post we shall explore how simple it is to analyze your performance data using iPython and pandas . Setup To start we will need some PCP archives which contain some collected…

Observing X11 protocol differences

I was trying to understand some oddities going with an X11 legacy application showing bad artifacts in one environment and working flawlessly in another environment. Since wireshark does not have any support for diffing two pcaps, I came up with the following steps: Dump both working.pcap and nonworking.pcap into text files with full headers: ~/ Devel / wireshark / tshark - r working . pcap - T…

Performance Co-Pilot and Arduino (part 2)

After initially setting up Performance Co-Pilot and Arduino , I wanted to improve the data being displayed. As latency is quite important to me, I wanted to display that as well. I did not have too much time on my hands to code a new PMDA that collects that information, so I abused the pmdashping(1) for this purpose. The steps are simple: Go to /var/lib/pcp/pmdas/shping Create sample.conf with the…

Performance Co-Pilot and Arduino

Besides being an incredible nice toolkit to work with, Performance Co-Pilot is extremely simple to integrate with any application. Amongst an extensive API it allows to export any metric via JSON using the PMWEBAPI(3) . I actived this feature on my Soekris firewall by installing PCP and running both the pmcd and the pmwebd services. Once pmwebd is active, querying any metric is quite simple: In…

Direction of Captured Packets

When capturing network traffic on an interface, it is usually pretty obvious which direction the packets are going. Let's take a typical Linux machine that hosts some VMs over a linux bridge. The interfaces will look like this: Physical Linux Linux VM Nic Bridge Tap Interface -------- ------- --------- -------- | eth0 | -- | br0 | -- | vnet0 | -- | eth0 | -------- ------- --------- -------- When…