Archive for April, 2025

Ollama – a benchmark script for any system where it is installed

Freitag, April 11th, 2025
#!/usr/bin/env bash
# Benchmark using ollama gives rate of tokens per second
# idea taken from https://taoofmac.com/space/blog/2024/01/20/1800
set -e
usage() {
echo „Usage: $0 [OPTIONS]“
echo „Options:“
echo “ -h, –help Display this help message“
echo “ -d, –default Run a benchmark using some default small models“
echo “ -m, –model Specify a model to use“
echo “ -c, –count Number of times to run the benchmark“
echo “ –ollama-bin Point to ollama executable or command (e.g if using Docker)“
echo “ –markdown Format output as markdown“
}
# Parse flags passed to program
while [[ $# -gt 0 ]]; do
case $1 in
-h|–help)
usage
exit 0
;;
–ollama-bin)
ollama_bin=“$2″
shift
shift
;;
-d|–default)
default_flag=true
shift
;;
–markdown)
markdown=true
shift
;;
-m|–model)
model=“$2″
shift
shift
;;
-c|–count)
benchmark=“$2″
shift
shift
;;
*)
echo „Unknown option: $1“
usage
exit 1
;;
esac
done
if [ -z „$ollama_bin“ ]; then
ollama_bin=“ollama“
fi
base_cmd=$(echo „$ollama_bin“ | awk ‚{print $1}‘)
if ! command -v „$base_cmd“ &> /dev/null; then
echo „Error: $base_cmd could not be found. Please check the path or install it.“
exit 1
fi
# Original comment about defaults mentions running multiple models that fit
# into memory, but for simplicity and ease of replication I just picked one.
if [ „$default_flag“ = true ]; then
benchmark=3
model=“llama3.2:3b“
fi
if [ -z „$benchmark“ ]; then
echo „How many times to run the benchmark?“
read -r benchmark
fi
if [ -z „$model“ ]; then
echo „Current models available locally“
echo „“
$ollama_bin list
echo „“
echo „Enter model you’d like to run (e.g. llama3.2)“
echo „“
read -r model
fi
echo -e „Running benchmark $benchmark times using model: $model“
echo „“
if [ „$markdown“ = true ]; then
echo „| Run | Eval Rate (Tokens/Second) |“
echo „|—–|—————————–|“
fi
total_eval_rate=0
for run in $(seq 1 „$benchmark“); do
result=$($ollama_bin run „$model“ –verbose „Why is the blue sky blue?“ 2>&1 >/dev/null | grep „^eval rate:“)
# With this we could clean up the non-Markdown results a bit more, but leaving it as is for compatibility.
eval_rate=$(echo „$result“ | awk ‚{print $3}‘)
total_eval_rate=$(echo „$total_eval_rate + $eval_rate“ | bc -l)
if [ „$markdown“ = true ]; then
echo „| $run | $eval_rate tokens/s |“
else
echo „$result“
fi
done
average_eval_rate=$(echo „scale=2; $total_eval_rate / $benchmark“ | bc)
if [ „$markdown“ = true ]; then
echo „|**Average Eval Rate**| $average_eval_rate tokens/second |“
else
echo „Average Eval Rate: $average_eval_rate tokens/second“
fi

Omnissa Digital Employee Experience (DEX) – a win for both employees and IT

Freitag, April 11th, 2025

UBox AMD Ryzen 5 6600H – 16GB DDR5 512GB SSD NVMe plus Windows 11 Pro License

Freitag, April 11th, 2025

Zabbix 20th Anniversary

Freitag, April 11th, 2025

Proxmox Virtual Environment (VE) 8.4.0 – released

Freitag, April 11th, 2025

Proxmox Virtual Environment (VE) 8.4.0 – what’s new

Microsoft Windows 11 Version 24H2 – Update KB5055523 issue creates ‚inetpub‘ folder out of nowhere

Freitag, April 11th, 2025

After installing the Update KB5055523 listed in the Security Updates table for your operating system a new %systemdrive%\inetpub folder will be created on your device this folder should not be deleted regardless of whether Internet Information Services (IIS) is active on the target device this behavior is part of changes that increase protection and does not require any action from IT admins and end users

BR quer mit Christoph Süß – der Koalitionsvertrag 2025 wird das Vertrauen der Deutschen gewinnen

Freitag, April 11th, 2025

Donnerstag, April 10th, 2025

Proxmox Virtual Environment (VE) 8.3.0 – Mailcow im LXC einrichten

Donnerstag, April 10th, 2025

Anstrengender Alltag als Industriemeister im Flugzeugbau bei Airbus Helicopters – was bekommt man dafür € 3.317,- netto

Donnerstag, April 10th, 2025

DMEA 2025 – hat erneut alle Rekorde gebrochen mit 20.500 Besuchern 900 Ausstellern aus fast 30 Ländern 470 Speakern in 200 Sessions wurde Berlin wieder für drei Tage zum Zentrum der digitalen Gesundheitsversorgung Europas

Donnerstag, April 10th, 2025

TrueNAS Scale 24.04 Dragonfish – Minimum Requirements Dual Core 64 bit CPU | 8 GB RAM (16 GB Recommended) | 16 GB SSD Boot Device | 2 Identically Sized Devices | Network Port | Hardware RAID Not Required

Donnerstag, April 10th, 2025

AVM FRITZ!Smart Energy 250 – vereinfacht das intelligente Energiemonitoring und Anwender können damit ihren Stromverbrauch mithilfe des neuen Sensors beobachten und auswerten und somit ihre Energiekosten optimieren

Donnerstag, April 10th, 2025

Friesland-Kliniken St.-Johannes-Hospital Varel – die Gutachter empfehlen Schließung

Donnerstag, April 10th, 2025

Anker SOLIX Solarbank 3 E2700 Pro – das weltweit erste 3.600W KI optimierte Balkonkraftwerk mit Speicher

Donnerstag, April 10th, 2025