From: Nicolas Sebrecht <nsebrecht@piing.fr>
To: d hee <coolio@ymail.com>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
Nicolas Sebrecht <nsebrecht@piing.fr>
Subject: [Qemu-devel] Re: SSD Trim Support- Current State?
Date: Mon, 18 Mar 2013 09:49:59 +0100 [thread overview]
Message-ID: <20130318084959.GB12175@nicolas-desktop> (raw)
In-Reply-To: <1363553880.35864.YahooMailNeo@web120802.mail.ne1.yahoo.com>
The 17/03/13, d hee wrote:
> What is the current state of SSD Trim/Discard support for a Qemu/KVM guests?
>
> I run a Qemi/ KVM host wtih these kvm guests...they are all Linux os's and use raw images: 1) 20 gig Linux web-server 2) Subsonic music streaming server for my Android phone 3) Postfix server for automated emails 4) Linux guest for sandbox for testing. All of this is on my on personal system as a hobby and not a a business "production" system. If I run them off a ssd drive without the trim support, will I see performance impacted as the guest blocks slowly fill up without being marked for reuse?
Depends of the SSD you have and the use you make of it. For recent
enough SSD, TRIM support is no more required as firmwares better manage
blocks and pages than in the first days of SSD.
Unless you use your SSD for big rewrites every day, I bet you won't have
to enable TRIM.
Also, If you still want TRIM enabled I think there is no need for
QEMU/KVM to support TRIM as you use RAW format. This is the job of your
guests.
What would make high preformance degradation is not having blocks
aligned.
--
Nicolas Sebrecht
prev parent reply other threads:[~2013-03-18 8:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-17 20:58 [Qemu-devel] SSD Trim Support- Current State? d hee
2013-03-18 8:36 ` Paolo Bonzini
2013-03-18 8:49 ` Nicolas Sebrecht [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130318084959.GB12175@nicolas-desktop \
--to=nsebrecht@piing.fr \
--cc=coolio@ymail.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).