Friday, June 14, 2013

dtrace with Python

dtrace: Python instrumentation

...where time becomes a loop

Last year, I mentionned that it was time for the Python community to embrace dtrace. I've gotten questions left and right, at user groups, through email etc as to what is dtrace and how it ties in with Python.


This week, a few posts on the Argentinian and Venezuelan Python lists on debugging Python and a total absence of a mention of dtrace and I knew I had to do a writeup. But before we get into the details, let's step back a bit.

Head over to my Python blog to read the rest of the article.

François
@f_dion

Friday, February 1, 2013

Illumos on RaspberryPi

Starting point


I have now dedicated two Raspberry Pi to work on some bare metal (C, assembler, no operating system) code. I'm hoping that publishing some of this work will help to start somekind of an effort to get the OpenSolaris ARM code out of the mothballs.

IllumOS


Obviously, long term will be to get the IllumOS kernel booting, but there is a lot of work between now and then.

On this blog


So, usually I post all the Raspberry Pi stuff on the Raspberry Pi Python Adventures blog, but I want to keep it mostly Python, with the occasional C code (swig etc). Since we are going bare metal, I think it'll be better if I track this stuff here.


@f_dion

Wednesday, January 30, 2013

OpenSXCE

Mystery solved

The new open sourced solaris / illumos distribution is called OpenSXCE (as in Open Solaris Express Community Edition - a clin d'oeil to the original open sourcing done by Sun and the Express program)

OpenSXCE

brought to you by Martin Bochnig 30 January 2013
Here is the first release of OpenSXCE for SPARC.
OpenSXCE 2013.01 Live for SPARC (1.2GB) -- 30 January 2013

The site is www.opensxce.org

Note the md5sum : 330a82654405c77c8cea903ed18117f2


@f_dion

Monday, January 28, 2013

Mysterious post

Hint

It has to do with illumos, solaris and sparc

What he said

Martin Bochnig via jeeves.archives.listbox.com


to discuss, developer

Hi Garrett,  
Release tomorrow.
Till then.
Martin

Monday, January 21, 2013

Git error setting certificate verify location

Problem

Under OpenIndiana, you might have  tried a git clone https://github.com/something....

and got this:

Cloning into something...
error: error setting certificate verify locations:
  CAfile: /etc/curl/curlCA
  CApath: none
 while accessing https://github.com/something....

fatal: HTTP request failed

Solution

The  fix is easy:

su
Password:
mkdir -p /etc/curl && cat /etc/certs/CA/*.pem > /etc/curl/curlCA

Thursday, January 17, 2013

LZ4 for ZFS

IllumOS update


Look what just happened last night:

https://www.illumos.org/issues/3035

Description
LZ4 is a new high-speed BSD-licensed compression algorithm written by Yann Collet that delivers very high compression and decompression performance compared to lzjb (>50% faster on compression, >80% faster on decompression and around 3x faster on compression of incompressible data), while giving better compression ratio. For detailed benchmark numbers see the attached spreadsheet.

Updated by Christopher Siden about 16 hours ago

  • Status changed from New to Closed



What does it mean?

In plain english, the latest IllumOS kernel has LZ4 compression available for the ZFS filesystem.

Wednesday, December 12, 2012

Bonjour / avahi / zeroconf

I use a few Raspberry Pi on my network. I gave them proper hostnames. I could map the DNS and all that, but I simply have avahi running on them, so I can access them with hostname.local.

Multicast

For OpenIndiana to support zeronconf, all that is needed is this:

fdion@p490s:~$ su
Password:
fdion@p490s:~# vi /etc/nsswitch.conf
[here, I just added mdns:
hosts:      files mdns dns
ipnodes:    files mdns dns
]
fdion@p490s:~# svcadm enable svc:/network/dns/multicast:default
fdion@p490s:~# exit
From that point on, I can simply use:

fdion@p490s:~$ ssh -X rpi01.local

And of course, I had to configure Avahi on the Raspberry Pi.

This also works with my Macs, I can use ssh mac01.local for example.