Gentoo Archives: gentoo-user

From: fire-eyes <sgtphou@×××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Laptop: Thinkpad T43: Disks Very Slow Under Load, Were Fast in the Past
Date: Fri, 07 Mar 2008 05:06:30
Message-Id: 47D0CD4E.7020009@fire-eyes.org
In Reply to: Re: [gentoo-user] Laptop: Thinkpad T43: Disks Very Slow Under Load, Were Fast in the Past by Andrey Falko
1 Andrey Falko wrote:
2 > On Thu, Mar 6, 2008 at 10:38 PM, fire-eyes <sgtphou@×××××××××.org> wrote:
3 >> Hello,
4 >>
5 >> I'm running gentoo on an IBM Thinkpad T43. In the past, disk access was
6 >> fine under load (CPU or disk). These days, the disk becomes painfully
7 >> slow under moderate to high CPU usage (such as compiling) or copying
8 >> more than a few MB. GUI's become almost totally unresponsive and at
9 >> times I have to down the system hard.
10 >>
11 >> So it seems it's some sort of a change in kernels compared to the past.
12 >> I have always run a vanilla kernel, manually configured and installed.
13 >> Right now I am running 2.6.24.3.
14 >>
15 >> The system uses an SATA disk drive.
16 >>
17 >> Here is the boot line in grub.conf:
18 >> kernel /boot/vmlinuz-stable root=/dev/sda4 rw hdc=noprobe
19 >> acpi_sleep=s3_bios panic=5 elevator=cfq nmi_watchdog=0
20 >>
21 >> /boot/vmlinuz-stable being a symlink to the kernel I consider "stable"
22 >> within /boot/. I also have vmlinuz-last called by another grub entry if
23 >> I need it.
24 >>
25 >> Here is my kernel config: http://fire-eyes.org/t/config-2.6.24.3.txt
26 >> (may disappear in the future)
27 >>
28 >> I am looking for feedback into what may be causing this mess. It makes
29 >> for a very frustrating time using this laptop.
30 >>
31 > What is the version of the kernel where you did not have issues?
32 > 2.6.24 and 23 have a new CPU scheduler (CFS), which "should" work
33 > better than the old one. It is possible that the new scheduler does
34 > not suit your needs.
35
36 Thanks for the reply.
37
38 I do not recall, other than it was four or more months ago. Do you
39 happen to know what version of the kernel that scheduler showed up in?
40 Also, is that scheduler not irrelevant here as I was passing elevator=cfq?
41
42 By the way, I did a little experimentation. I changed my scheduler to
43 deadline, and set preemption to desktop. Before the scheduler was cfq,
44 and the preemption to low-latency desktop.
45
46 Things already feel snappier gui-wise, but I have yet to push the
47 disk/cpu to see what will happen. I believe it is at least the start of
48 improvements, however.
49 --
50 gentoo-user@l.g.o mailing list

Replies