Skip to content

Is this officially a new world record?

Is this officially a new world record?
3825 × 2400 · PNG · 938 KB Original file

Having optimized performance for so many years, I knew from the start that anyone claiming a laptop was too slow to break certain speed barriers was mistaken; I have just proven that such barriers exist only in the mind by running the GLM-5.2 · 744B MoE · 429 GB on disk , on a laptop at a speed never before achieved on such a machine.

🎉🎉🎉 2.89 tok/s PEAK! 2.36 tok/s avg

hardware is:

Asus Rog Strix: Intel i9 290HX, ddr5 6400MHz 64GB, RTX 5090 24GB, 2x2TB, OS: Nobara Linux

The Colibri code has been modified.

Edited 16 Aug 2026. We only hold this version.

100 points45 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
100 · 94% up
Kind
Image
ID
1vprpg5

Author

6
posts
53
comments
4
media
View profile

72 comments

I tried antirez ds4 glm5.2 (211gb) on my mac studio 128gb and got 3.2t/sec with ssd-streaming...what ruined it for me was the prompt processing , it was like 0.6 to 0.9 t/s ...considering you only have 24gb the speed you achieved is really impressive

12 points

If pp is below tg, you can usually recover a lot of the delta by doing a ubatch sweep.    

9 points

Awesome. Did you modify the Colibri code or do you mean you ran an updated repo-version? Could you share your code with the Colibri people on GitHub ao they may try to improve upon your results? Can you share which nvmes you are running. =D

3 points

I’d be happy to share all the data, but I haven’t finished optimizing yet; I still see a lot of wasted computing resources and keep managing to squeeze out more and more performance. Because of this, both the configuration and the code modifications are constantly being tweaked, the whole setup is highly tailored to a specific configuration. Once I hit the absolute limit of the hardware, I’ll be able to publish everything. Currently, my setup uses only one drive: HFS002TEJ9X101N 2048.4GB; the second one remains unused.

4 points

Cool! Thanks, great to see so many people pushing boundaries!

3 points

The suggestion in the image (creating a RAID 0 Stripe with a low-overhead filesystem) is the correct technical path for **maximum read performance** on Linux with two NVMe drives.

Here is the safe, step-by-step execution guide.

### Critical Pre-Check (The "Safe" Part)
**RAID 0 (Stripe) offers zero redundancy.** If one drive fails, you lose the entire 429GB model.
* **Safety Measure:** Ensure you have the original model file downloaded elsewhere, or that you can re-download it from the source (e.g., HuggingFace) in case of catastrophic drive failure.
* **Do not** store your only copy of the model on this volume without a backup.

### Step 1: Identify Your Devices
Open a terminal and run:
```bash
lsblk
```
Identify your two NVMe drives (e.g., `nvme1n1` and `nvme2n1`). **Do not** select your OS drive (usually `nvme0n1`).

### Step 2: Wipe and Prepare Partitions
We will wipe the existing file systems and create new partitions. This removes any old data.
*Replace `nvme1n1` and `nvme2n1` with your actual drive names.*

```bash
# Wipe existing signatures
sudo wipefs -a /dev/nvme1n1
sudo wipefs -a /dev/nvme2n1

# Create new GPT partitions (this creates partitions like /dev/nvme1n1p1)
sudo parted /dev/nvme1n1 mkpart primary ext4 1MiB 100%
sudo parted /dev/nvme2n1 mkpart primary ext4 1MiB 100%

# Ensure partition tables are synced
sudo partprobe
```

### Step 3: Create the RAID 0 Stripe (`mdadm`)
This stripes data across both drives. The read throughput will be roughly double that of a single drive.

```bash
sudo mdadm --create /dev/md0 --level=0 --raid-devices=2 /dev/nvme1n1p1 /dev/nvme2n1p1
```
*Wait for the creation to finish.*

### Step 4: Create the Filesystem (XFS)
The commenter mentioned "lowest overhead." For a single massive file (429GB), **XFS** is the industry standard. It handles large files better than ext4 and has lower metadata overhead.

```bash
sudo mkfs.xfs -f /dev/md0
```

### Step 5: Mount and Optimize
We will mount it with `noatime` (prevents updating file access time on every read, saving writes) and `inode64` (optimized for large files).

```bash
# Create mount point
sudo mkdir -p /mnt/llm-stripe

# Mount the drive
sudo mount -o noatime,inode64 /dev/md0 /mnt/llm-stripe
```

### Step 6: Make it Permanent
To ensure the RAID and mount persist after reboot:

  1. Save the RAID config:
    ```bash
    echo "DEVICE /dev/nvme1n1p1 /dev/nvme2n1p1" | sudo tee -a /etc/mdadm.conf
    sudo mdadm --detail --scan | sudo tee -a /etc/mdadm.conf
    ```
  2. Edit `/etc/fstab`:
    ```bash
    sudo nano /etc/fstab
    ```
    Add this line to the bottom:
    ```text
    /dev/md0 /mnt/llm-stripe xfs defaults,noatime,inode64,discard 0 0
    ```

### Step 7: Performance Verification
Move your 429GB model file to `/mnt/llm-stripe/model.bin`.

To verify the speed boost, you can test reading the file:
```bash
# Test sequential read speed
sudo hdparm -Tt /dev/md0
# Or test file read speed specifically
cat /mnt/llm-stripe/model.bin > /dev/null
```

### Summary of Why This Works

  1. **Stripe (RAID 0):** Doubles the bandwidth. Since you are reading a massive file, the two drives work in parallel to feed data to the GPU/CPU.
  2. **XFS:** Optimized for massive files. It avoids the fragmentation issues `ext4` might have with a single 400GB+ file.
  3. **`noatime`:** Reduces metadata overhead on every single read operation.
2 points

give it a try with enough big partition carved out of both (~half size required from each), and create md stripe from those two partitions, on that md stripe use the lowest overhead filesystem for reading and give it a try again :)

1 points

So you are looking at about 14000 MB/s for storage read bandwidth? I've been doing it off a 1tb harddisk for memes and have 1.3 tps aggregate.

1 points

you should first check free space if the first drive was fully provisioned and shrink it if needed…

You are absolutely correct. Proceeding with partitioning on a fully provisioned OS drive without shrinking it first is dangerous and will fail or cause data loss.

Here is the **safe, professional workflow** to identify space, shrink the OS partition if necessary (using Nobara's likely `btrfs` filesystem), and then create the high-performance RAID 0 stripe.

### Phase 1: Audit & Identify Space
First, we must see exactly where your OS lives and how much space is actually available.

Run this command to see your block devices and filesystems:
```bash
lsblk -f
```

**Expected Output Logic:**
- `nvme0n1`: Likely your OS drive.
- `nvme1n1`: Likely your second drive (unused).
- Look for the mount point `/` (root). Check its "FSTYPE".
- If it says `btrfs`, we can shrink it online safely.
- If it says `ext4`, shrinking a mounted root partition is **impossible** without a Live USB. (Assuming Nobara uses `btrfs` by default).

Check current usage:
```bash
df -h /
```
*If you have > 256GB free, you can skip the shrinking step. If you have less, proceed to Phase 2.*

---

### Phase 2: Shrink OS Partition (If Needed)
**Warning:** This modifies your partition table. Ensure you have a backup of critical data.

**Step A: Shrink the Filesystem (Btrfs)**
We will shrink the filesystem by 256GB (adjust the number as needed) to create a "hole" at the end of the partition.
```bash
# Shrink the root filesystem by 256GB
sudo btrfs filesystem resize -256G /
```

**Step B: Shrink the Partition**
You need to identify the partition number for your root drive (e.g., `nvme0n1p3`).
Run `lsblk` again. Let's assume your root is `nvme0n1p3`.

```bash
# Get the size of the partition we just shrank
sudo parted /dev/nvme0n1 print

# Resize the partition to match the new smaller size.
# Note: 'parted' sometimes struggles with auto-resizing.
# A safer alternative for Btrfs is to delete the partition and recreate it,
# BUT that is risky for a beginner.

# SAFEST METHOD for Btrfs on Linux:
# 1. Shrink filesystem (Done above).
# 2. Use 'gdisk' or 'fdisk' to delete the partition table entry and recreate it
# starting at the same sector but ending 256GB earlier.
# (This is risky if you guess wrong).

# ALTERNATIVE SAFER METHOD:
# If you are unsure, stop here and use a GParted Live USB to resize the partition graphically.
# If you must do it via CLI:
sudo parted /dev/nvme0n1 resizepart 3 100%
# ^ This usually fails if the partition table is larger than the filesystem on Btrfs.
```

*Correction for Btrfs:* Btrfs allows shrinking the FS, but `parted` often refuses to shrink the partition if the filesystem is smaller than the partition to prevent data loss, or vice versa.
**The Safe CLI Path:**

  1. Shrink FS: `sudo btrfs filesystem resize -256G /`
  2. Delete Partition 3: `sudo parted /dev/nvme0n1 rm 3`
  3. Recreate Partition 3 with smaller size: `sudo parted /dev/nvme0n1 mkpart primary btrfs 1MiB -256GB` (This creates a partition that ends 256GB before the end of the disk).
  4. Set the bootable flag: `sudo parted /dev/nvme0n1 set 3 boot on`

---

### Phase 3: Create the RAID 0 Stripe Partitions
Now we have 256GB free on the OS drive (`nvme0n1`) and presumably free space on the second drive (`nvme1n1`).

We will create a 256GB partition on the free space of the OS drive and the first 256GB of the second drive.

```bash
# 1. Create partition on the OS drive (assuming it's nvme0n1p4 now, check lsblk)
sudo parted /dev/nvme0n1 mkpart primary 0% 256GB

# 2. Create partition on the second drive (nvme1n1)
sudo parted /dev/nvme1n1 mkpart primary 0% 256GB

# 3. Mark them as RAID partitions
sudo parted /dev/nvme0n1 set 4 raid on
sudo parted /dev/nvme1n1 set 1 raid on
```
*Note: Adjust partition numbers (e.g., `nvme0n1p4` vs `p3`) based on your `lsblk` output from Phase 1.*

---

### Phase 4: Build the RAID 0 Device
Now we combine the two 256GB partitions into one 512GB device (`/dev/md0`).

```bash
# Create the RAID 0 array
sudo mdadm --create /dev/md0 --level=0 --raid-devices=2 /dev/nvme0n1p4 /dev/nvme1n1p1
```
*(Verify partition numbers with `lsblk` before running this).*

---

### Phase 5: Format and Mount
We use XFS for best performance with large files and RAID.

```bash
# Format the new RAID device
sudo mkfs.xfs -f /dev/md0

# Create mount point
sudo mkdir -p /mnt/llm-stripe

# Mount it
sudo mount /dev/md0 /mnt/llm-stripe

# Make it persistent
echo "/dev/md0 /mnt/llm-stripe xfs defaults,noatime,discard 0 0" | sudo tee -a /etc/fstab
```

### Verification

  1. **Check Mount:** `df -h /mnt/llm-stripe` should show ~512GB.
  2. **Move Model:** Move your 429GB model file to this directory.
  3. **Test:** Run your Colibri benchmark.

**Safety Note:** Since this is a RAID 0 (Stripe), if `nvme0n1p4` or `nvme1n1p1` fails, you lose the model. Ensure you have the model file downloaded elsewhere (e.g., in your home folder on `nvme0n1` if there is space, or on a secondary backup drive).

1 points

This looks pretty cool; great job. First time hearing about Colibri. Have a question, would this cause the drive to wear out its endurance faster? Have you done any measuring on how much disk read/write is done when you run a prompt?

I want to try this, but I’m curious about any of the usage/endurance numbers before I try as I want to avoid wearing any of mine out and buying another SSD with current pricing. Might just be me overthinking it.

2 points

Reading an ssd causes no wearing out, only the initial download/deleting stuff causes wear out

6 points

NAND read disturb is a real thing. Several orders of magnitude better than programming cycles, still not nearly infinite as DRAM

1 points

Not really the question I’m asking but okay; thanks for your unhelpful answer. Not aware of Colibri at all so don’t know what it’s doing under the hood. Asking someone who has used it and probably understands it better. Was not referring to just reading a model from the disk.

Could be stuff such as temp writes, swaps when RAM is all used up, or paging that happen so want to know from someone who has used it if they notice any of that and how much usage it creates; usage could be almost nothing for all i know or could be high.

-9 points

I wonder if at this speed you could make a concept belt to load essentially layer by layer from disk to ram to vram. I did it for an image generation task in a constrained system and it was far better than I would have expected.

1 points

The loading process itself is not the problem.

The problem is that the GPU is unused for about 3/4 of the time, because it is so fast that it processes data quicker than the RAM/DISK/CPU can supply it. I’m looking for a way to reduce this idle time, because right now the CPU does 3/4 of the work, and the GPU only 1/4 — and this directly results from the need to load data from disk, then into RAM, and only afterwards into the GPU.

1 points

Likely a dumb question but nonetheless... Do you think it would make sense to try using Colibri Engine in this specific case?

256GB DDR4, 4 channel mode @ Threadripper 3960X

dual RTX 3090

two PCIE 4.0 SSDs (mirror mode or whatever it's called in Colibri), maybe 990 Pro or something, no idea which ones to buy at this point

I'm getting a pretty low speed in llama.cpp, running GLM 5.2 at either IQ2M or IQ3XXS. However, it's quite enough - 3 to 4 t/s - because the reasoning is disabled and it's all configured for short and punchy replies.

So the idea is to jump to a higher quant (I know Colibri isn't for GGUFs but you get the idea) although I have no clue whether I'll be able to maintain the same 3 - 4 t/s speed.

As to why am I even thinking about it, well, it does seem like I'm HEAVILY bottlenecked by DDR4. Adding more VRAM won't do shit as I've already attempted to add a 3rd GPU (RTX 5080) from my gaming PC, still seeing the same generation speed, if not a little higher.

One of my other concerns: long context, up to 200K. With llama.cpp I endure about 600 - 1000 seconds to the first message at about 50K chat depth, and then every following reply arrives quickly (5 to 30 seconds). Is Colibri Engine any different in that regard? I mean, waiting once for a long prefill is fine, however, if it somehow reprocesses everything periodically, then it's basically dead on arrival for me.

1 points

Hai provato ad usare Zram per raddoppiare la RAM e comprimerla, così da poter usarene di più?

1 points

No, and I’m afraid it would eat up my remaining 20% of available CPU power without giving any real benefit to actual speed. But… I never say NO ,I’ll check out the idea.

2 points

Binary data is typically already pretty well compressed? If the compression doesn't reach a threshold zram just leaves it as-is, so I would be doubtful it'd help in this case.

Anonymous memory however tends to be more friendly to compression but that depends on what's in memory, if it's just a big empty array you've allocated and only modified the first couple elements, compressing that is a win. If it's text, you can compress that well too, but a bunch of random bytes less so 😅

1 points

This is absolutely great! How long does it take for the first token with lets say 5000k of context?

1 points

I don’t have the hardware to run such a test, but my solution scales, and it can be used on larger servers without any difficulty.

1 points
unknown author

Deleted before we saved it.

1 points

if you spent this kind of effort earning, you would have money to buy you some decent GPUs.

1 points

I have a public repo called lightlx that does the exact same, but not at your speed - would you be so kind as to help me in that as well please!

1 points
unknown author

Deleted before we saved it.

1 points

You will kill your ssd like that, BUT, still it’s good job! Worth it? I don’t know, if you do really valuable agentic work to replace the ssd and break-even? Maybe?..

1 points

This sounds insanely slow? I mean on my desktop I'm certain I'm getting many words per second for a local model. 2t/s is like 1.5words per second?

-3 points

The model OP is running is very large for something you run locally (MoE with 753B parameters of which 40B are active). Llm models are usually designed and optimized to be ran on VRAM (the ram on your GPU) but enough VRAM to run such a model would cost a fortune. OP has optimized it to run on normal ram alongside an SSD, for those conditions 2tps is crazy impressive.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.