Questions tagged [solid-state-drive]

SSD SUPPORT IS OFF-TOPIC. General HDD/SSD support may be asked on Super User (https://superuser.com). A solid-state drive (SSD) is a flash disk similar to a thumb drive, but much faster and with a hard-disk interface, typically SATA.

A solid-state drive is a storage medium based on high-performance flash memory. Most SSD have the same logical interfaces as hard disks (e.g. SATA ). SSDs can be distinguished from HDDs by not having any moving mechanical components.

257 questions
4
votes
1 answer

sqlite updates slow (15 seconds for 1720 records) on SSD disk

Dear fellow developer, for some reason updates for 1720 records takes around 15 seconds when on SSD disk (especially when having trim enabled). I have tweaked the sqlite settings using the following document (which works…
Ger Teunis
  • 945
  • 1
  • 14
  • 30
4
votes
0 answers

Different SSD Serial Number in Powershell with Different Privileges

I run this command in my windows 10 powershell: wmic path win32_physicalmedia get SerialNumber get result with normal user permission: SerialNumber ACE4_2E81_7004_1B90. get result with administrator permission: SerialNumber EJ82N176910102N4Q I…
Flynn
  • 51
  • 3
4
votes
0 answers

Logical block size on SSD

I'm currently working on a custom test/benchmark for SSD (CFast card) that runs on Win10 (written in C++). Part of the job is to read and interpret the S.M.A.R.T. attributes reported by the SSD. The one I'm interested in now is called "Total Host…
4
votes
1 answer

Avoid SSD wear when using SQLite database in Node.js

I have a Node.js application that heavily utilizes an SQLite database and I am worried about the impact it may have on my SSD. My application periodically updates information about all clients that are connected to a certain server. I would rather…
natiiix
  • 1,005
  • 1
  • 13
  • 21
4
votes
2 answers

How to improve SSD I/O throughput concurrency in Linux

The program below reads in a bunch of lines from a file and parses them. It could be faster. On the other hand, if I have several cores and several files to process, that shouldn't matter much; I can just run jobs in parallel. Unfortunately, this…
Tobias Hagge
  • 231
  • 1
  • 8
4
votes
1 answer

Peer-to-peer communications between PCIe devices?

In order to enable p2p communication between NVMe SSDs and other PCIe devices, I wonder if I need to make some modifications to the Linux kernel and the NVMe driver, and something else? And what modifications should I make? I have searched for some…
4
votes
1 answer

Intel NVMe drive Performance degradation with xfs filesystem with sector size other than 4096

I am working with NVMe card on linux(Ubuntu 14.04). I am finding some performance degradation for Intel NVMe card when formatted with xfs file system with its default sector size(512). or any other sector size less than 4096. In the experiment I …
Christina Jacob
  • 665
  • 5
  • 17
4
votes
5 answers

Why can NAND flash memory cells only be directly written to when they are empty?

I'm trying to understand why you have to erase cells before writing to them with respect to SSDs and how they slow down over time.
nevster
  • 6,271
  • 7
  • 35
  • 42
4
votes
4 answers

Why does Java disk I/O perform so much slower than the equivalent I/O code written in C?

I have an SSD disk which should supply not less than 10k IOPS per specification. My benchmark confirms that it can give me 20k IOPS. Then I create such a test: private static final int sector = 4*1024; private static byte[] buf = new…
Anthony
  • 12,407
  • 12
  • 64
  • 88
4
votes
2 answers

Determine linux driver that owns a disk

I am trying to debug a situation where the SSD on my hardware is not being detected by the right device driver. The device driver that should own the SSD's is a software RAID driver (megasr) that will automically configure 2 SSD's in mirroring mode.…
4
votes
4 answers

How to determine storage type (SSD drive or HHD .mechanical drive), using C language

How can I, from a C program, read the hardware information of a drive? (I.e. to determine if the drive is an SSD or a mechanical disk.)
StevenWang
  • 3,625
  • 4
  • 30
  • 40
4
votes
1 answer

java memory mapped file, read/write in 4k or 8k blocks for a SSD?

I have an SSD which has an internal page size of 8k but linux only supports 4k page sizes. My question is, when using java memory mapped files would I get better performance reading/writing in 4k or 8k blocks at a time. I am building a disk based…
3
votes
1 answer

ZFS SSD pool - Postgres setup really slow for large table ALTER command Write operations)

We recently moved a db(1.2TB) cluster from mirrored SSD to ZFS pool build-up of SSD. After the move, I have seen a massive drop in performance on large write operations (Alter table types, vacuums, index creation etc.). To Isolate the problem I did…
Overklog
  • 109
  • 3
  • 10
3
votes
1 answer

Cassandra - HDD vs. SSD usage makes no difference in throughput

The Context I'm currently running tests with Apache Cassandra on a single node cluster. I've ensured the cluster is up and running using nodetool status, I've done a multitude of reads and writes that suggest as such, and I'm confident my cluster is…
3
votes
0 answers

Make R Store Memory in HDD/SDD instead of RAM?

I am running code in gganimate to create an animation using a large amount of data. I have 32GB RAM but it just isn't quite enough, I get the error 'Cannot allocate vector size XXX'. I can get it to run if I make the data smaller (using moving…
user3456588
  • 609
  • 4
  • 9
1 2
3
16 17