This is disgusting. Notice the kernel version 😎 #linux.
Thursday, April 24, 2025
Sunday, January 28, 2024
Can you make a useful student terminal using a Raspberry Pi 5 ?
Executive summary
Yes, you can. And not only it is doable, but it is actually good fun! The Pi’s are fully useable as student terminals, allowing students to do much more than just ssh-ing to the servers : they have a fast and responsive local environment with chromium, libreoffice, molecular graphics, any programming language they want, R & R-studio, etc. Having said that, the students using them must not be in fear of doing some system administration now and then (but with a carefully prepared image for the microSD card, even this will be very rare). All-in-all, this is a loud and clear go from my side (and at the present time).
![]() |
| The Pi at full throttle. Overview of four workspaces shown with molecular graphics, libreoffice writer, a tmux session, and a browser. |
The long story
Introduction
So, I decided to buy a Raspberry Pi 5. Not sure why. Probably to have a new toy to play with during the Christmas vacation. This turned-out to be a good choice: the Pi is very good fun, and I still enjoy fiddling with its settings and making it look like a proper linux machine. There were some minor issues, like a difficulty in finding suitable adaptor for micro HDMI, or -the several- issues with Wayland/Xwayland (more on that later), but the final verdict is very positive : Pi is nice and useful as a desktop environment, the hardware looks stable and the software dependable (but it is too early to say), and at 3W power consumption at idle (and 12W under full load), it will make the university happier. Actually it is so nice and the desktop experience so smooth and responsive, that I am seriously thinking about moving it to my desk at the office.
Hardware things
Not much to say here. The things I should mention are : (a) The Pi’s micro HDMI port is a bit difficult to work with, and you have to think whether you want to buy an adaptor or a fixed cable. (b) The official Pi.com case is not very good at cooling the Pi, maybe the official ‘active cooler’ is better and cheaper. There are also these ‘cases’ with double heat sinks and double fans for the fanatics. (c) It would be nice if your monitor comes with speakers, otherwise you will need either a USB- or a bluetooth-based set of speakers/headset/earbuds. (d) The ‘disk’ is a microSD card. My understanding is that this is the weak link hardware-wise. MicroSDs are not made for 24/7, you probably need a high-end model and properly scheduled backups to be on the safe side.
Software things
The Pi comes with Debian 12 (Bookworm), so everything works out of the box, except Wayland/Wayfire. I suffered considerably with the move away from X11, but in retrospect most of it was due to the complete absence of any familiarity from my side with the configuration of wayland and friends. Eventually we did reach an equilibrium and I am happy (for now ?), but note that some things like camera support and video-conferencing have not been tested. The Xwayland part (offering support for pure X11, non-wayland, apps) is not exactly a true substitute for a proper X11 server, and I even ended-up re-writing some code for two of my ancient programs which were using Ygl (an IrisGL-like X11-based substitute for GL) to make them run as fast as they do under X11. Having said all that, I do not regret staying with wayland : I learned things, and wayland appears to be faster and smoother and ‘fancier’ that X11. There are things that bug me, like the absence of a focus-follows-mouse setting (you need to find/build the extra plugins for wayfire to make this work), but all-in-all it looks good now. I suppose that someone with fewer preconceived ideas and expectations could have used the defaults happily and never experience any issues, but this was definitely not the case with me.
Tests in a ‘production’ environment
The Pi passed what I consider to be an acid test for a new desktop machine : log-in onto it, and try to work normally while using it for dealing with whatever happens to come along during a typical day at the office. I have been happily using it for several days now, and only occasionally did something needed to be installed/configured. The general feeling I got is that of using a normal fully-setup modern linux machine on a hardware that is up to the task.
![]() |
| A workspace with too many windows open. This is from an analysis performed remotely via ssh. |
Cost estimates
It looks like you are better off buying a kit and then add to it if needed, instead of buying the parts one-by-one. For example : buying separately the 8G model + the official Pi case + the official power supply costs 123.90 euros (incl. VAT). Buying this kit costs 124.90 euros, and you get (for the same price) the 8G model + the official active cooler + the official power supply + a HDMI ⇒ MicroHDMI cable + the (cheap-ish) ABS case + a Sandisk Ultra 32GB MicroSD (with pre-installed the OS). If 32G is not enough, you only have to buy a larger/better MicroSD card, attach a keyboard and a mouse, and you are good to go.
So, even if I add 30 euros for an extra MicroSD card + a set of wireless keyboard/mouse, we reach a total of ~155 euros for a complete ready-to-go Pi box. Add ~90 euros for a cheap 23" monitor with speakers, and you end-up with a grant total of ~250 euros for a complete Pi-based student terminal. Now : For 190 euros, you can buy a cheap chromebook with 11" display, two cores, and a 32G disk. But I can hardly imagine running e.g. pymol on a 11" display. I am writing this on a chromebook in vim and it is fine for that usage. But the chromebook is not a suitable device for molecular graphics, or having 5 windows open from an analysis of a molecular dynamics trajectory. To conclude this section : if you already have the monitor plus keyboard/mouse —and the 32G MicroSD is acceptable— you can buy a proper desktop machine with 125 euros, which is probably unbeatable. Even if you have to go for the full set, I doubt that you could find an as smooth and responsive machine with 250 euros.
Conclusions
The Raspberry Pi 5 is not a toy-like hardware suitable only for kids learning computing. It has sufficient resources to make a useful everyday terminal for college students as well. The Pi is ideal for writing code, testing it, and then deploying it to the servers for the production run. With the 8G model, you can easily have 4 workspaces loaded with a browser, a local tmux session, a remote session with X11 apps running an analysis, a local diary/journal for taking notes, etc., and with all those apps running, the responsiveness of the Raspberry remains essentially unaffected. You will, of course, not do your heavy computing on the Pi, but this is also true for all terminals we currently use. And with a price tag of 97€ for the 8G model, replacing a broken terminal comes as close to a walk in the park as you’ll ever get. Add the 3W power consumption at idle, and there you have it : a functional solution for light academic computing that is also light on the budget and also light with its environmental footprint. The way I see it, the only thing remaining to be seen concerns the robustness of the Pi : our classical PC-based student terminals can easily pass the 5 year mark, and we have several that have passed the 10 year mark. For the Pi to be useful, it should at least approach the 5 year mark. Replacing MicroSD cards every couple of months would definitely take the fun out of it. Time will show …
Update [April 2025] : Not only the Pi is still my main desktop machine (and I'm happy with it), but we have actually moved ahead and installed three devices for the students' office. The photo says it all :
Friday, September 29, 2023
A fully useable academic laptop for 189 € ? My take on a dirt-cheap chromebook.
I decided to write a review about this device¹ mainly because it pleasantly surprised me. My 5-year-old linux laptop took a hard fall, the casing broke, and I felt that to be on the safe side, I needed a ready-to-go backup device for this semester's teaching classes. I basically needed a device with a useable unix shell, an editor, gcc, a pdf viewer, and to be able to connect to the departmental projectors without issues. I stumbled across this chromebook by chance (actually, by sorting on the laptops' prices), and it caught my eye. I was always curious about what google is doing with chromeos and chromebooks, but my expectations from a 189€ chromebook with a weak CPU, 4G of physical memory, and only 32G disk space, were low. Extremely low. And I was wrong. This is a fully useable laptop for normal everyday academic applications. Having 4 workspaces ("desks") with dedicated email, unix shell, browser, a video call, and with all apps running simultaneously and being responsive and useable is the norm and not the exception. Add the ~10 hours of battery life on a single charge, the immediate availability of a proper linux (debian) distribution, the appealingly minimal, functional and stable chromeos environment, and it doesn't take long before you start thinking about taking it with you every time you leave home. And with a weight of 1.1 kgr, you might as well take it.
Don't get me wrong : you won't load this device with your brand new 10 Gbytes data set, and you will certainly not analyze the data with its AMD A6 processor. And you almost certainly won't do any short of serious photo/video editing or gaming on this chromebook either. But you can easily do all teaching presentations, all emailing, all everyday administrative tasks, right from this device.
However, do bear in mind that I'm an old guy. So old, that the following caveats apply :
Thursday, June 22, 2023
A new fat node has been added to the cluster. This is based on an Intel Core i7-13700KF (1700/3.4 GHz/30 MB), an NVIDIA MSI RTX 4070 Ti VENTUS 3X 12Gb OC 3, 8GB DDR4@3200 MHz, and two 2TB disks in a RAID1 array.
Initial tests confirmed that this is our new fastest machine, delivering with gromacs and HMR ~3930 ns/day on the FipWW 8,000 atom/5fs system. As with the other machines, with smaller systems the performance flattens at approximately ~4.1 μs/day (again with gromacs & HMR).
Friday, February 14, 2020
New node added to the cluster
Initial tests confirmed that this is our new fastest machine, delivering ~575 ns/day on the standard 10,000 atom/4fs benchmark. As with the other i9, with smaller systems the performance flattens at approximately ~700ns/day with a 2.5fs step.
Saturday, February 16, 2019
New fat box arrived
A new fat node has been added to the cluster. This is based on an Intel i9-9900K, a GTX-1080, 8GB DDR4@3000 MHz, and a two-disk RAID 0 @ 4TB.
Initial tests confirmed that this is indeed our new fastest machine, delivering ~560 ns/day on the standard 10,000 atom benchmark (second best is this one with 460 ns/day). With smaller systems, however, the performance flattens (giving with the CLN025 system 570 ns/day@2fs, ~730 ns/day@2.5fs).
Thursday, October 18, 2018
Running dropbox on old linux machines
[1] Install rclone as described in https://rclone.org/downloads/ . Surpisingly, this may be the hardest part of the procedure due to old versions of curl not being compatible with the server-side ssl. On both of my machines I had to install openssl from source and then install curl again from source (using the newest ssl libraries). Expect suffering at this stage.
[2] Configure rclone as described in https://rclone.org/dropbox/ . This is easy.
[3] Do a dry run to confirm that rclone is working as expected (change 'mydropbox' and 'user'):
rclone --dry-run sync -u mydropbox: /home/user/Dropbox
[4] Install inotify-tools if you don't have them already.
[5] If you reached this stage, you are practically done :
(a) Prepare a hidden file in your home directory (for example /home/user/.dropboxwatch.sh) containing the following bash script :
#!/bin/bash
while true; do
inotifywait -e modify,create -r /home/user/Dropbox && \
pgrep rclone > /dev/null || rclone copy -u /home/user/Dropbox mydropbox:
done
exit
(b) Edit your crontab and insert the following two lines :
@reboot /home/user/.dropboxwatch.sh >& /dev/null
*/30 * * * * pgrep rclone > /dev/null || rclone sync -u mydropbox: /home/user/Dropbox
alias dropboxfetch='pgrep rclone > /dev/null || rclone copy -u mydropbox: /home/user/Dropbox'
Thursday, August 30, 2018
Gemini PDA review
Saturday, July 7, 2018
Gemini PDA
I'm hooked.
As a reviewer was saying, if you skipped a beat when you first saw it, then you belong to the target audience of the Gemini PDA :
The bloody thing can even dual boot into Debian. Expect a review to appear here soon (hopefully).
Wednesday, May 30, 2018
Primitive cluster monitoring for the desktop
Combine warewulf, a tiny cgi perl script and conky, and there it is, a primitive cluster monitoring tool for the desktop without ssh :
Tuesday, May 29, 2018
Renewing cluster hardware
- Scarlet (i7-6800K @ 3.4GHz + GTX-1070) ==> 445 ns/day
- Old AMD FX-8150, 8 cores @ 3.6 GHz + GTX 1050 ==> 195 ns/day
- Old Q6600 @ 2.4GHz box + GTX 1050 ==> 135 ns/day
Sunday, December 25, 2016
New fat compute node arrived
New fat compute node arrived. It contains an i7-6800K@3.4GHz, an nvidia GTX-1070, 16 GBytes of physical memory and two WD Red 1TB disks. After a few problems with setting-up the disks as RAID0 (using Intel's rapid storage), a minimal CentOS 7.3 was installed and the nvidia drivers compiled and installed.
First tests with NAMD 2.12 were impressive : on a small peptide problem with 4400 atoms, the new box delivered ~330 nanoseconds per day, a speed-up by a factor of 10 compared with NAMD 2.9 running on a node containing an 8-core AMD FX-8150 plus a GTX 570. To make the comparison hardware-dependent-only, we should test with NAMD 2.9 on the new box (testing new NAMD on the old box won't do because support for fermi GPUs was dropped with NAMD 2.12).
On the same peptide system (4300 atoms) and with a 2.5 fs time step, 470 ns/day were recorded. This reached an outstanding 550 ns/day for a smaller (3300 atoms) system. Think about it again : more than 1 μs in two days. Two days.
Update : It seems that with this hardware and NAMD 2.12 it is necessary to disable off-loading FFT to the GPU by using the 'usePMECUDA no' configuration option.
Tuesday, July 16, 2013
New server arrived
Friday, March 22, 2013
Using HP proliant microservers as students' terminals
Got two of them to be used as student terminals, setup one of them with linux Mint, use dd to clone the disk for the other, end of story.
ps. And it is getting even better : new price is 185,36 € (incl. VAT). Incredible.
Thursday, February 9, 2012
New machine for cluster
New box with an 8-core AMD FX-8150, an NVIDIA GTX 570 and 4 Gbytes of memory at 1333 MHz arrived. After a few problems with perceus (rejected hardware address starting from 8C:…), all else appear to have worked smoothly. Started testing it with NAMD ... [results]
Saturday, November 19, 2011
Will we get this ?
- 8 x Six-Core AMD Opteron™ Model 8435 - 2.6GHz 6MB L3 Cache
- 16 x 2GB PC2-6400 800MHz DDR2 ECC Registered
- 2 x 2.0TB SATA 6.0Gbps 7200RPM - 3.5" - Seagate Constellation™ ES
- PNY NVIDIA Quadro 2000 1.0GB GDDR5 (1xDVI-DL, 2xDP)


















