XBench Results

System Spec & benchmark results of my 12″ iBook
You can compare your results online here
Results 28.66
System Info
Xbench Version 1.1.3
System Version 10.3.5 (7M34)
Physical RAM 256 MB
Model PowerBook4,1
Processor PowerPC G3 @ 500 MHz
Version 750CXe v2.4 v2.5
L1 Cache 32K (instruction), 32K (data)
L2 Cache 256K @ 500 MHz
Bus Frequency 67 MHz
Video Card ATY,RageM3
Drive Type TOSHIBA MK1017GAP
CPU Test 21.88
GCD Loop 36.86 1.44 Mops/sec
Floating Point Basic 62.30 225.29 Mflop/sec
vecLib FFT 7.96 123.57 Mflop/sec
Floating Point Library 71.46 2.86 Mops/sec
Thread Test 39.37
Computation 27.76 374.72 Kops/sec, 4 threads
Lock Contention 67.68 849.69 Klocks/sec, 4 threads
Memory Test 15.30
System 15.89
Allocate 344.83 224.93 Kalloc/sec
Fill 12.87 102.42 MB/sec
Copy 9.24 46.21 MB/sec
Stream 14.76
Copy 13.89 101.51 MB/sec
Scale 13.51 99.70 MB/sec
Add 15.74 100.73 MB/sec
Triad 16.29 99.55 MB/sec
Quartz Graphics Test 38.91
Line 36.91 941.80 lines/sec [50% alpha]
Rectangle 42.64 3.00 Krects/sec [50% alpha]
Circle 43.94 1.02 Kcircles/sec [50% alpha]
Bezier 41.58 458.64 beziers/sec [50% alpha]
Text 32.10 523.27 chars/sec
OpenGL Graphics Test 54.63
Spinning Squares 54.63 38.23 frames/sec
User Interface Test 41.95
Elements 41.95 13.49 refresh/sec
Disk Test 25.01
Sequential 24.71
Uncached Write 21.22 8.85 MB/sec [4K blocks]
Uncached Write 21.16 8.67 MB/sec [256K blocks]
Uncached Read 46.04 7.29 MB/sec [4K blocks]
Uncached Read 21.85 8.83 MB/sec [256K blocks]
Random 25.31
Uncached Write 17.32 0.26 MB/sec [4K blocks]
Uncached Write 24.20 5.46 MB/sec [256K blocks]
Uncached Read 39.93 0.26 MB/sec [4K blocks]
Uncached Read 29.43 6.06 MB/sec [256K blocks]

X-Over to the other side

I managed to pick up a broken iBook which needed some TLC.
After 3 hours in the operating theatre everything went A-ok, I managed to replace the broken tft panel & lid. With a fully working laptop I started messing around, then got a bit cocky & managed to nearly rip off the slot which the ribbon for the trackpad slots into, so now I have to sort that out as Im trackpad less.

Being a geek is my own curse sometimes! 🙁

WMI Window Manager

After a serious plugging by some of the peepz @ BSD Nexus (WIntellect!!) I decide to give the new window manager called WMI a try on my laptop running OpenBSD.
WMI is coming from the same angle as flux & black box in that its a totally stripped down window manager with heavy focus on keyboard shortcuts.
For OpenBSD the site links straight to the OpenBSD ports cvsweb page, where you can download the necessary files to build WMI, the build process went totally smoothely & a package was created in /usr/ports/packages/i386/all/ but as there is a error in one of the Make files, the package doesnt complete the install & outputs a error (will investigate this & keep you updated).

I wasnt particularly impressed with the default theme that WMI comes with (called industrial) but there are 2 aditional themes currently available on the WMI site which you can install, which I did (im currently running the DragonflyBSD theme) & judging from the contents of a theme if you dont like the themes available it wouldnt be very difficult to make your own one, a quick edit of my theme file to add some wallpaper & Its all systems go. 🙂

Darwin Streaming Server Port Usage

As Darwin SS uses the RTSP protocol to stream (unless youre streaming via port 80) you must have the following ports open on your firewall 554, 7070, 8000, 8001 then anything starting from 6970 & up depending on how many clients you want to support.
Apple have a basic support article on this here

Running Darwin Streaming Server on OpenBSD 3.5

Today I have mostly been playing with streaming servers, I’ve been meaning to give Apple’s Darwin Streaming server a go for a while now but never got around to trying it, unfortunatly theres no official binaries for OpenBSD but a quick google around & I found this
I download the patch from the url specified in the post & then onto Apples site to download the sources. I was unable to use the patch in its original form as the creator had specified the paths from his computer to the files which ofcourse where invalid on my system. A quick edit of the dif & i was back on track. 🙂

Heres my moded patch with the paths taken out, place it inside the DarwinStreamingSrc5.0.1.1 directory & patch away 🙂
As specified in the Jeff Ross’s post, patch the source with
patch -p0 < DSS_5.diff
then compile & install with
./DSS_MakeRoot -f DarwinStreamingSvr
cd DarwinStreamingSvr
sudo ./Install

once installation is completed run
rmuser qtss then run adduser & create a new user with the username qtss,with the shell /sbin/nologin & no password.
otherwise Darwin fails with the following error
Cannot switch to group qtss

Now run /usr/local/sbin/streamingadminserver.pl then openup your browser & goto http://localhost:1220
You should be presented with a login screen! 😀

D-Link Sux

Been dealing with a D-link DSL300T ethernet modem today & I now have a even bigger hatred for their kit, the pony piece of kit re-enables the dhcp server & sets the clock back to 1970 after powercycling the unit (even though you’ve saved the changes) resulting in a impressive uptime stat on the modems admin page & a confused firewall (which sits behind the modem) wondering why it has a 192.168.x.x IP address on both the wan & lan port.

The Propper way to fire up MySQL

been pulling my hair out as cron wasnt firing up, tracked the problem down to rc.local, the command to start mysql was preventing cron from running but everything seemed A-OK on the outside.
heres the correct lines to insert into rc.local on OpenBSD to fireup mysql without causing any knock on effects:
if [ -x /usr/local/bin/mysqld_safe ]; then
/usr/local/bin/mysqld_safe > /dev/null & echo -n 'mysql '

Automated Uploads with FTP using cron

Today I’ve mostly been messing with IRC bots & toys.
setup a bot (eggdrop) & irc stat generator (pisg) on my server here at home. Unfortunately the channels website is hosted elsewhere, using crontab I created a cron job to run pisg at a regular interval, then planned on using ftp in another job to upload the generated stats page. Unfortunately there no way of telling the ftp command to upload files.
To get around this I resorted to setting a cron job on a script which ran ftp & included the necessary ftp commands to upload the file piped to the ftp command.
Heres the script I used (thnx Dan!):

ftp -i -n ftp.hostname.net <<EOF
user myusern mypasswd
cd /whereu/want2upload/
lcd /wherethe/fileis/locatedlocally/
put index.html

the crontab entry looks like this
0 * * * * /pathto/sh /pathtothe/script >/dev/null 2>&1

Though Shall Post

Sooo tired, I keep on meaning to sit down & write some articles for here, defo over the weekend Ill sit my arse down & get some stuff typed up, got some tidbits for openbsd I wanna share 🙂

Hello World

Welcome to my blog
I have setup this site to share my thoughts & experiences of all things geek/tech like with all you ppl out there, I hope you enjoy your visit here 🙂