[Bug 864051] Re: TRIM support not enabled for SSDs

2012-10-02 Thread Marius Kotsbak
** Tags added: precise

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

Title:
  TRIM support not enabled for SSDs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-target/+bug/864051/+subscriptions

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


[Bug 864051] Re: TRIM support not enabled for SSDs

2012-07-24 Thread areteichi
I don't have a concrete solution, but gnome-disk-utility (palimpsest),
for instance, somehow recognizes that my hard drive is a SSD. This leads
me to believe that there is an instruction set already available with
which the type of a hard drive can be identified.

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

Title:
  TRIM support not enabled for SSDs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-target/+bug/864051/+subscriptions

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


[Bug 864051] Re: TRIM support not enabled for SSDs

2012-07-24 Thread Mark East
You can detect the disk type from the following file:

/sys/block/sda/queue/rotational

Just cat it. 1 means it's rotational, 0 means it is an SSD. Just change
sda to be the disk you want to inspect. You will also need root
privileges to view the file.

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

Title:
  TRIM support not enabled for SSDs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-target/+bug/864051/+subscriptions

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


[Bug 864051] Re: TRIM support not enabled for SSDs

2012-07-24 Thread areteichi
 feasty
Ok, assuming that this command will detect an SSD with good accuracy, another 
question is whether enabling TRIM for all SSDs would cause problems for some 
(e.g. unsupported SSD or server/enterprise SSD).

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

Title:
  TRIM support not enabled for SSDs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-target/+bug/864051/+subscriptions

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


[Bug 864051] Re: TRIM support not enabled for SSDs

2012-07-24 Thread Mark East
I researched it about a year ago now for work and the kernel should
probe the hardware to see if it supports TRIM. If it doesn't then it
won't use it. It shouldn't cause any problems for people. If anyone
knows differently then let me know.

I've run disks with the discard option on normal rotational disks
without issue.

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

Title:
  TRIM support not enabled for SSDs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-target/+bug/864051/+subscriptions

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


[Bug 864051] Re: TRIM support not enabled for SSDs

2012-07-24 Thread Slug
There is a negative performance using TRIM / DISCARD when deleting a
folder with a load of small files

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

Title:
  TRIM support not enabled for SSDs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-target/+bug/864051/+subscriptions

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


[Bug 864051] Re: TRIM support not enabled for SSDs

2012-07-24 Thread Mark East
Looking at the initial commit for TRIM in the kernel I can see that it's
calling ata_id_has_trim() and passing in the disks ID. This looks like
it filters disks that don't support TRIM.

You can see the commit for trim in the 2.6.33 kernel here:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=18f0f97850059303ed73b1f02084f55ca330a80c

If you want to investigate the ata_id_has_trim function more closely you
can find it in include/linux/ata.h.

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

Title:
  TRIM support not enabled for SSDs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-target/+bug/864051/+subscriptions

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


[Bug 864051] Re: TRIM support not enabled for SSDs

2012-07-24 Thread Anders Aagaard
As #10 says, there is a negative performance impact of mounting with
discard. Personally I use fstrim in crontab instead.

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

Title:
  TRIM support not enabled for SSDs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-target/+bug/864051/+subscriptions

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


[Bug 864051] Re: TRIM support not enabled for SSDs

2012-07-23 Thread Dmitrijs Ledkovs (community)
How to reliably detect SSD?
Is there a performance impact on enabling TRIM for non-SSD drives?

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

Title:
  TRIM support not enabled for SSDs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-target/+bug/864051/+subscriptions

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


[Bug 864051] Re: TRIM support not enabled for SSDs

2012-07-22 Thread areteichi
Yeah I hope the discard command will be enabled by default in 12.10.

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

Title:
  TRIM support not enabled for SSDs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-target/+bug/864051/+subscriptions

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


[Bug 864051] Re: TRIM support not enabled for SSDs

2012-07-15 Thread SKIP981
This bug affects me too. What I expect to happen when I install Ubuntu
12.04 is that it will support the TRIM by automatically entering the
'discard' option in the fstab file. I know you can do this manually but
a lot of end-users do not even know how to deal with a terminal. This is
a CRITICAL bug, especially when you are a system builder who plans on
putting SSDs for even the lowest end hardware. Unless a Newer file
system supports this TRIM command automatically, Please (and I mean
please for the sake of Linux) fix this. Thank You to all the developers
that work on Ubuntu!!

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

Title:
  TRIM support not enabled for SSDs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-target/+bug/864051/+subscriptions

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


[Bug 864051] Re: TRIM support not enabled for SSDs

2012-07-15 Thread SKIP981
The only reason we are asking this to be fixed is because some people
are uncomfortable using the terminal to enable TRIM on their SSD.

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

Title:
  TRIM support not enabled for SSDs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-target/+bug/864051/+subscriptions

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


[Bug 864051] Re: TRIM support not enabled for SSDs

2011-10-10 Thread Brian Murray
** Changed in: partman-target (Ubuntu)
   Importance: Undecided = Medium

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

Title:
  TRIM support not enabled for SSDs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-target/+bug/864051/+subscriptions

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


[Bug 864051] Re: TRIM support not enabled for SSDs

2011-10-02 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: partman-target (Ubuntu)
   Status: New = Confirmed

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

Title:
  TRIM support not enabled for SSDs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/partman-target/+bug/864051/+subscriptions

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