[Bug 343371] Re: Very poor desktop response (high latency) during I/O-load with SATA+NCQ

2012-02-10 Thread Brad Figg
** Changed in: linux (Ubuntu)
 Assignee: Jim Lieb (lieb) = (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/343371

Title:
  Very poor desktop response (high latency) during I/O-load with
  SATA+NCQ

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/343371/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 343371] Re: Very poor desktop response (high latency) during I/O-load with SATA+NCQ

2011-01-10 Thread Daniel Johansson
This bug affects me (10.10, 64bit) and has done so for a long time (at
least 2 releases).

When having many tabs opened in google chrome (swap), compiling large
projects or updating git repositories which requires disk-io, system
becomes unusable (may take 15-200 seconds for mouse pointer to move from
one end of screen to the next), system clock at top corner (gnome) slows
down to a stand-still, all windows are greyed out etc.

This happens on both my laptops:

laptop 1) centrino duo, 4gb ram, ssd with bad controller (low iops, 
performance) 2.6.32 kernel
laptop 2) core i5, 3gb ram, normal harddrive. 2.6.37 kernel

Both laptops use luks to encrypt whole root-partition + swap.

Is there anything I can do to help here? (I'm a developer)

Cheers,
Daniel

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/343371

Title:
  Very poor desktop response (high latency) during I/O-load with SATA+NCQ

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 343371] Re: Very poor desktop response (high latency) during I/O-load with SATA+NCQ

2010-05-14 Thread Brian Murray
Looking at the attachments in this bug report, I noticed that lspci
-vv was flagged as a patch.  A patch contains changes to an Ubuntu
package that will resolve a bug, since this was not one I've unchecked
the patch flag for it.  In the future keep in mind the definition of a
patch.  You can learn more about what qualifies as a patch at
https://wiki.ubuntu.com/Bugs/Patches.  Thanks!

-- 
Very poor desktop response (high latency) during I/O-load with SATA+NCQ
https://bugs.launchpad.net/bugs/343371
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 343371] Re: Very poor desktop response (high latency) during I/O-load with SATA+NCQ

2010-05-14 Thread Øyvind Stegard
I'll be adding some test results for Ubuntu Lucid here, as soon as I can
find some time.

-- 
Very poor desktop response (high latency) during I/O-load with SATA+NCQ
https://bugs.launchpad.net/bugs/343371
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 343371] Re: Very poor desktop response (high latency) during I/O-load with SATA+NCQ

2010-01-29 Thread Øyvind Stegard
Laurent Duchesne l...@urent.org writes:

 I can confirm I had the same problem with 2.6.31-18 (ICH7 chipset).
 After following these instructions to upgrade the kernel to 2.6.32,
 everything works fine:
 http://www.ramoonus.nl/2009/12/03/linux-kernel-2-6-32-installation-guide-for-ubuntu-linux/

 The mouse doesn't freeze anymore and apps are still responsive even
 when under heavy IO load.

Kernel 2.6.32 helped the situation, definitely. But unfortunately I ran
into som other compatibility problems with both PPA mainline-versions
and custom-compiled versions from upstream (missing App-armor, somewhat
strange/altered fs-mounting-behaviour at boot, readahead not working,
extremely slow hibernation). In the end I decided to stick to the
2.6.31-based kernels distributed with Ubuntu Karmic. I guess things will
get better when Lucid comes around..

-- 
Very poor desktop response (high latency) during I/O-load with SATA+NCQ
https://bugs.launchpad.net/bugs/343371
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 343371] Re: Very poor desktop response (high latency) during I/O-load with SATA+NCQ

2010-01-14 Thread Øyvind Stegard
Thank you for the tip, I will try kernel 2.6.32.3 from the Ubuntu kernel
team's mainline-PPA and report back.

-- 
Very poor desktop response (high latency) during I/O-load with SATA+NCQ
https://bugs.launchpad.net/bugs/343371
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 343371] Re: Very poor desktop response (high latency) during I/O-load with SATA+NCQ

2010-01-13 Thread Laurent Duchesne
I can confirm I had the same problem with 2.6.31-18 (ICH7 chipset). After 
following these instructions to upgrade the kernel to 2.6.32, everything works 
fine:
http://www.ramoonus.nl/2009/12/03/linux-kernel-2-6-32-installation-guide-for-ubuntu-linux/

The mouse doesn't freeze anymore and apps are still responsive even when
under heavy IO load.

-- 
Very poor desktop response (high latency) during I/O-load with SATA+NCQ
https://bugs.launchpad.net/bugs/343371
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 343371] Re: Very poor desktop response (high latency) during I/O-load with SATA+NCQ

2010-01-01 Thread trumpeteersman
Arrg!  Same issue here coupled with the slow SATA performance bug:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/119730

Started happening for me with Hardy Heron about 1.5 years ago.  Now
running up-to-date Karmic with same issue.

Lenovo T61
1GB DDR2 667
500GB Seagate SATA2 ST9500420AS
2.6.31-16-generic SMP x86_64

As soon as my system swaps, the UI becomes unusable.
Trying other IO schedulers.

-- 
Very poor desktop response (high latency) during I/O-load with SATA+NCQ
https://bugs.launchpad.net/bugs/343371
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 343371] Re: Very poor desktop response (high latency) during I/O-load with SATA+NCQ

2009-12-30 Thread Øyvind Stegard
Hi,

I've been running Ubuntu 9.10 for a while now (currently on kernel
2.6.31-17.54). The problem with high I/O latencies during write-load
persists, even after migrating all partitions to the EXT4 file system.
The hardware is still the same as when I reported this bug originally.

Again, to reiterate for Karmic, the issue typically appears when I run
some process in the background that writes a lot out to disk (typical
for audio/video work, etc), and then try to use my desktop for other
things while this is going on. Firefox grinds to a halt immediately the
first time it tries to do som disk I/O. And I have to wait for too long
before I gets responsive again. This is a 64bit quad-core system with
8GB RAM, so there's plenty of resources. The symptoms are exactly the
same as they were for Jaunty: all in all the disks and system is
configured and running OK with good throughput performance, but the
latency is just horrible at times.

-- 
Very poor desktop response (high latency) during I/O-load with SATA+NCQ
https://bugs.launchpad.net/bugs/343371
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 343371] Re: Very poor desktop response (high latency) during I/O-load with SATA+NCQ

2009-12-30 Thread Øyvind Stegard
This is probably what I'm seeing: 
http://bugzilla.kernel.org/show_bug.cgi?id=12309
However, it looks like the most promising patch is only available from 2.6.32+.

** Bug watch added: Linux Kernel Bug Tracker #12309
   http://bugzilla.kernel.org/show_bug.cgi?id=12309

-- 
Very poor desktop response (high latency) during I/O-load with SATA+NCQ
https://bugs.launchpad.net/bugs/343371
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 343371] Re: Very poor desktop response (high latency) during I/O-load with SATA+NCQ

2009-07-08 Thread Jim Lieb
This bug may be a duplicate of #131094 even though I have not marked it
as such (yet).  See the comment at
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/131094/comments/235
and test your workload against it.  Note that this has been a workload
sensitive problem.  You may have another problem further into the I/O
subsystem but eliminating this issue should be the first step, i.e. if
we eliminate the I/O from VM thrashing, NCQ etc. become less of an
issue.  If you have further problems as indicated in earlier comments,
we can then pursue potential problems in the SATA layer.  Thank you.

** Changed in: linux (Ubuntu)
   Status: Confirmed = Incomplete

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) = Jim Lieb (lieb)

-- 
Very poor desktop response (high latency) during I/O-load with SATA+NCQ
https://bugs.launchpad.net/bugs/343371
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 343371] Re: Very poor desktop response (high latency) during I/O-load with SATA+NCQ

2009-07-01 Thread KLEIN Stéphane
I've same issue on my laptop.

Some information :

$ uname --all
Linux stephane-macbook 2.6.28-13-generic #44-Ubuntu SMP Tue Jun 2 07:57:31 UTC 
2009 i686 GNU/Linux

Do you need other information ?

Is it an ubuntu bug or kernel bug ? If the last, may be we can found
this bug in kernel bugzilla ?

Regards,
Stephane

** Attachment added: lspci -vv
   http://launchpadlibrarian.net/28608283/lspci.txt

-- 
Very poor desktop response (high latency) during I/O-load with SATA+NCQ
https://bugs.launchpad.net/bugs/343371
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 343371] Re: Very poor desktop response (high latency) during I/O-load with SATA+NCQ

2009-06-14 Thread Andrea Bravetti
echo 1  queue_depth was not enought in my case.

What you see in queue_type when you do that?
simple, none or something else?

I resolved it adding my hd (WDC WD3200BEVT-22ZCT0) in the NCQ blacklist
in drivers/ata/libata-core.c and now I can read very big files from the disk
without any problem...

After some test I think 381300 is something
different and you can ignore it...

-- 
Very poor desktop response (high latency) during I/O-load with SATA+NCQ
https://bugs.launchpad.net/bugs/343371
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 343371] Re: Very poor desktop response (high latency) during I/O-load with SATA+NCQ

2009-06-11 Thread Andrea Bravetti
take a look at bug 381300!
please boot with elevator=noop and try if the problem persist...

-- 
Very poor desktop response (high latency) during I/O-load with SATA+NCQ
https://bugs.launchpad.net/bugs/343371
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 343371] Re: Very poor desktop response (high latency) during I/O-load with SATA+NCQ

2009-04-24 Thread Øyvind Stegard
Still a problem in Ubuntu Jaunty with all filesystems converted to EXT4.
Copying 6-7 GB from one place on a partition to another place on the
same partition (i.e. duplicating the data on the same harddrive) results
in extreme I/O latencies, and things like starting up Firefox while copy
operation is going is totally impossible. It seems that latency on Linux
suffers badly whenever there is heavy writing, the in I/O scheduler is
not up for the job of providing an OK desktop experience.

-- 
Very poor desktop response (high latency) during I/O-load with SATA+NCQ
https://bugs.launchpad.net/bugs/343371
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 343371] Re: Very poor desktop response (high latency) during I/O-load with SATA+NCQ

2009-03-17 Thread qwerty
I had a problem with a sata disk under heavy I/O ... response time
degraded when loading/starting new applications (... until the disk
finally freezed).

I solved my problem by fine tunning the pdflush parameters...

Monitor the Dirty values in  cat /proc/meminfo ... if the values
remain high (... are not cleaned frequently enough) then the problem
might be the pdflush configuration.

If the problem is the pdflush then check this link :
https://bugs.launchpad.net/ubuntu/+bug/270794/comments/12

... I hope it helps.

-- 
Very poor desktop response (high latency) during I/O-load with SATA+NCQ
https://bugs.launchpad.net/bugs/343371
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 343371] Re: Very poor desktop response (high latency) during I/O-load with SATA+NCQ

2009-03-17 Thread J. Scott Gwin
*** This bug is a duplicate of bug 270794 ***
https://bugs.launchpad.net/bugs/270794

I'll check it out and if that's the problem, I'll mark this bug a
duplicate of the other.

qwerty wrote:
 I had a problem with a sata disk under heavy I/O ... response time
 degraded when loading/starting new applications (... until the disk
 finally freezed).

 I solved my problem by fine tunning the pdflush parameters...

 Monitor the Dirty values in  cat /proc/meminfo ... if the values
 remain high (... are not cleaned frequently enough) then the problem
 might be the pdflush configuration.

 If the problem is the pdflush then check this link :
 https://bugs.launchpad.net/ubuntu/+bug/270794/comments/12

 ... I hope it helps.

   


** This bug has been marked a duplicate of bug 270794
   2.6.24-19-generic libata soft resetting link every 30 secs when under heavy 
load

-- 
Very poor desktop response (high latency) during I/O-load with SATA+NCQ
https://bugs.launchpad.net/bugs/343371
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 343371] Re: Very poor desktop response (high latency) during I/O-load with SATA+NCQ

2009-03-17 Thread Øyvind Stegard
*** This bug is a duplicate of bug 270794 ***
https://bugs.launchpad.net/bugs/270794

@qwerty: Thanks for the hint, but I think it is not related. I don't
have problems with the disk or controller under high load, only with the
general latency of the system.

So, this is not a duplicate of bug 270794. The kernel version there is
different (2.6.24), and like I stated, I've never had any stability
problems with the SATA controller, nor the hard-drive. It never soft-
resets itself and generally works very reliably. This is purely a
latency problem, not anything going wrong, controller reset, kernel log
errors, etc.

-- 
Very poor desktop response (high latency) during I/O-load with SATA+NCQ
https://bugs.launchpad.net/bugs/343371
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 343371] Re: Very poor desktop response (high latency) during I/O-load with SATA+NCQ

2009-03-17 Thread Dimitrios Symeonidis
** This bug is no longer a duplicate of bug 270794
   2.6.24-19-generic libata soft resetting link every 30 secs when under heavy 
load

-- 
Very poor desktop response (high latency) during I/O-load with SATA+NCQ
https://bugs.launchpad.net/bugs/343371
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 343371] Re: Very poor desktop response (high latency) during I/O-load with SATA+NCQ

2009-03-16 Thread Øyvind Stegard
Attaching some latencytop output while doing a large read ..

** Attachment added: latencytop.log
   http://launchpadlibrarian.net/23950515/latencytop.log

-- 
Very poor desktop response (high latency) during I/O-load with SATA+NCQ
https://bugs.launchpad.net/bugs/343371
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 343371] Re: Very poor desktop response (high latency) during I/O-load with SATA+NCQ

2009-03-16 Thread J. Scott Gwin
Excellent, thank you.

Øyvind Stegard wrote:
 Attaching some latencytop output while doing a large read ..

 ** Attachment added: latencytop.log
http://launchpadlibrarian.net/23950515/latencytop.log



-- 
Very poor desktop response (high latency) during I/O-load with SATA+NCQ
https://bugs.launchpad.net/bugs/343371
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 343371] Re: Very poor desktop response (high latency) during I/O-load with SATA+NCQ

2009-03-15 Thread Øyvind Stegard

** Attachment added: Kernel log from boot
   http://launchpadlibrarian.net/23891945/dmesg

-- 
Very poor desktop response (high latency) during I/O-load with SATA+NCQ
https://bugs.launchpad.net/bugs/343371
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 343371] Re: Very poor desktop response (high latency) during I/O-load with SATA+NCQ

2009-03-15 Thread Øyvind Stegard

** Attachment added: Output of command 'lspci -vv'
   http://launchpadlibrarian.net/23891954/lspci.txt

-- 
Very poor desktop response (high latency) during I/O-load with SATA+NCQ
https://bugs.launchpad.net/bugs/343371
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 343371] Re: Very poor desktop response (high latency) during I/O-load with SATA+NCQ

2009-03-15 Thread J. Scott Gwin
Thank you for reporting this problem.  It helps us make Ubuntu better.
Would you please follow this link (http://www.howtoforge.com/measuring-
linux-latency-with-latencytop-on-ubuntu-8.10-and-debian-lenny) and give
us the results?  It could be very useful info to help us help you.

** Changed in: linux (Ubuntu)
   Status: New = Confirmed

-- 
Very poor desktop response (high latency) during I/O-load with SATA+NCQ
https://bugs.launchpad.net/bugs/343371
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs