Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #201998

Re: Slow writes to disk

From Martin <keine-eile@online.de>
Newsgroups linux.debian.user
Subject Re: Slow writes to disk
Date 2018-11-02 15:20 +0100
Message-ID <wPIsO-6fL-13@gated-at.bofh.it> (permalink)
References <wPGU1-5eR-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


How does your partition alignment look for that disk?
Or, in other words, what does 'fdisk -l' tell you about this one?

Am 02.11.18 um 13:31 schrieb Stefan Monnier:
> For a while now I noticed that aptitude is very slow on one of my
> machine (Thinkpad T61) running Debian testing.  At first I thought it
> was because its disk (a fairly old 120GB SSD) was suffering from some
> kind of problem, so I replaced it with an almost new 240GB Samsung 840.
> 
> It seemed to bet better at first, but maybe it was just an impression.
> In any case, now it's definitely very slow.  Digging more into it,
> I found out that part of the problem seems to be very slow writes to
> the disk.  I can reproduce tests where `dd`ing a 40MB file proceeds at
> the ridiculous speed of about 500KB/s (tho sometimes the speed is much
> higher).
> 
> I've been using SSD drives on most of my machines for many years now,
> and it's the first time I notice such a slow performance.  `smartctl`
> shows that the drive an not registered any errors at all and has a "wear
> leveling" of 18.
> 
> I figured maybe the drive is having trouble for lack of free space which
> leads to high load on the "GC", so I did a `fstrim` on / and /home
> (both on LVM), which took a bit of time and returned without any
> message, which I took to be a positive sign that it managed to do what
> it's supposed to.  But it made no difference to the performance.
> 
> Any idea?
> 
> 
>         Stefan
> 

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Slow writes to disk Stefan Monnier <monnier@iro.umontreal.ca> - 2018-11-02 13:40 +0100
  Re: Slow writes to disk Michael Stone <mstone@debian.org> - 2018-11-02 13:50 +0100
    Re: Slow writes to disk Stefan Monnier <monnier@iro.umontreal.ca> - 2018-11-02 20:00 +0100
  Re: Slow writes to disk Martin <keine-eile@online.de> - 2018-11-02 15:20 +0100
    Re: Slow writes to disk Curt <curty@free.fr> - 2018-11-02 16:30 +0100
  Re: Slow writes to disk David Christensen <dpchrist@holgerdanske.com> - 2018-11-03 03:40 +0100
    Re: Slow writes to disk Michael Stone <mstone@debian.org> - 2018-11-03 13:00 +0100
      Re: Slow writes to disk David Christensen <dpchrist@holgerdanske.com> - 2018-11-03 20:30 +0100
        Re: Slow writes to disk Michael Stone <mstone@debian.org> - 2018-11-03 21:40 +0100
          Re: Slow writes to disk David Christensen <dpchrist@holgerdanske.com> - 2018-11-04 03:00 +0100
            Re: Slow writes to disk Michael Stone <mstone@debian.org> - 2018-11-04 13:30 +0100
              Re: Slow writes to disk David Christensen <dpchrist@holgerdanske.com> - 2018-11-04 23:10 +0100
  Re: Slow writes to disk songbird <songbird@anthive.com> - 2018-11-03 18:30 +0100

csiph-web