On my Thinkpad T440p laptop performance is very poor. Even xterm opens with a slight lag. And this despite the fact that the xmonad window manager is used. I must say that in general this is a pretty peppy laptop with top configuration for 2015 (i7 haswell + 16gb ram + ssd samsung pro), if you just put some Linux distribution like Gentoo.
How I set up the system:
RAM: 16Gb
HDD: SSD Samsung Pro 128Gb x2 (ZFS mirror) + Transcend 128Gb (l2arc)
2 - ZFS. I am using legacy bios and zfsboot. There is no disk partitioning, ZFS occupies the entire disk.
/etc/sysctl.conf
I tried to remove the cache (l2arc) from the pool, and I also removed the second disk from the mirror, leaving it with one disk, no cache and no redundancy. It had virtually no effect on performance. The problem is floating, sometimes the browser can be used, but sometimes even updating the page takes time. It feels like there is not enough RAM. What is your opinion about the causes of this problem?
How I set up the system:
- used legacy bios (default fot this model, uefi available);
- booted from live-cd to console;
- created zpool (zfs mirror);
- installed zfsboot bootloader without any disk partitioning;
- unpacked base and kernel from the archive;
- built packages on a separate server (binary host) using poudriere and put them here on T440p.
Code:
Version: Intel(R) Core(TM) i7-4710MQ CPU @ 2.50GHz
Voltage: 0.8 V
External Clock: 100 MHz
Max Speed: 2500 MHz
Current Speed: 2500 MHz
Status: Populated, Enabled
Upgrade: Socket rPGA988B
L1 Cache Handle: 0x0002
L2 Cache Handle: 0x0003
L3 Cache Handle: 0x0004
Serial Number: None
Asset Tag: None
Part Number: None
Core Count: 4
Core Enabled: 4
Thread Count: 8
Characteristics:
64-bit capable
RAM: 16Gb
HDD: SSD Samsung Pro 128Gb x2 (ZFS mirror) + Transcend 128Gb (l2arc)
2 - ZFS. I am using legacy bios and zfsboot. There is no disk partitioning, ZFS occupies the entire disk.
Code:
root@t440p:~ # zpool status
pool: t440p
state: ONLINE
scan: resilvered 18.4G in 00:04:08 with 0 errors on Wed Oct 12 11:21:31 2022
config:
NAME STATE READ WRITE CKSUM
t440p ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
diskid/DISK-S24ZNXAH111111N ONLINE 0 0 0
diskid/DISK-S24ZNXAH222222K ONLINE 0 0 0
cache
diskid/DISK-G553111111 ONLINE 0 0 0
errors: No known data errors
/etc/sysctl.conf
Code:
kern.coredump=0
kern.randompid=1
net.inet.ip.forwarding=1
vfs.zfs.min_auto_ashift=12 # use sectors more than 4KiB
I tried to remove the cache (l2arc) from the pool, and I also removed the second disk from the mirror, leaving it with one disk, no cache and no redundancy. It had virtually no effect on performance. The problem is floating, sometimes the browser can be used, but sometimes even updating the page takes time. It feels like there is not enough RAM. What is your opinion about the causes of this problem?