I am developing a high performance database and I want to write directly to a specific track/cylinder with multiple heads at the same time. How is this done in Linux with SATA disks through the SATA bus? Any docs, examples you could recommend?
write on track / head / cylinder on a magentic disk
163 Views Asked by Nulik At
1
There are 1 best solutions below
Related Questions in C
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
- gcc static library compilation
- How to do a case-insensitive string comparison?
- C programming: Create and write 2D array of files as function
- How to read a file then store to array and then print?
- Function timeouts in C and thread
Related Questions in LINUX-KERNEL
- kernel module does not print packet info
- android linux kernel communicate with user space about NETLINK_USER
- How to offload NAPI poll function to workqueue
- Why Device Tree Structure (DTS) file is needed both in bootloader and kernel source code?
- Bootloader in Assembly with Linux kernel
- pktgen not sending packets more than 1kb big
- Use static analysis tools to check null pointers and memory leaks in Linux device drivers
- How to build Linux kernel to support SO_ATTACH_BPF socket option?
- How do I know the last sched time of a process
- linux kernel compile error....udevd[63]: error getting socket
- Process in background mode trying to read from stdin
- board firmware update through uefi capsule feature from Linux
- spin_lock before writing status register
- Kernel module configuration locked built in?
- Install Subversion 1.7 on Debian jessie
Related Questions in DISK
- Detect volume mount and get its path
- Implementing Tree Structure in disk memory
- Trying to read from file within existing for loop
- Java file IO slows down with large consecutive writes
- Is it true that PE files map directly into memory?
- Low level page manager in C/C++
- I use freebsd11 but iops is very very poor ('fio' tools)
- How can I find the total disk size of the device my app is running on?
- Copying docker image folder between partition with rsync
- Invalid Directory Item Count (It should be 3*673 instead of 3*674) while MacBook partition using Disk Utility
- Redshift disk space vs number of nodes
- Diskpart UniqueID - C# how to get that id
- seek for an useful and free utility to clean my OSX
- Access the RAW disk using C/C++
- Azure: Unable to attach my data disk to VM
Related Questions in SATA
- Confusion in disk write operation using DD command
- ATA PASS THROUGH DIRECT on SAS BUS in Windows XP
- write on track / head / cylinder on a magentic disk
- Hard disk id of SATA drives
- How can I determine the SATA channel for a given disk?
- How to Install Windows XP on old IDE/SATA hard disk (connected in USB) for on old PC?
- SATA controller
- Is there a way to override libata.force during runtime?
- How can I identify the protocol used in hard disk?
- Folder is empty while data transfer Sata Hard Drive From Laptop Into USB External Enclosure
- Need Script To Automatically Restart Mac Until Negotiated SATA Link Speed is SATA II
- CPU, Disk, RAM, Ethernet Data Flow
- How to programmatically detect sata drive unplug in SuSE Linux?
- How do I send commands to NVMe drive over USB bridge?
- Configuring a 7-Series GTXE2 transceiver for Serial-ATA (Gen1/2/3)
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You cannot directly do this. With modern drives the physical drive layout is abstracted away by the drive controller, which for any disk made in the last 20 years is inside the drive itself. The interface seen by the host computer is defined in terms of linear logical block addresses (the C/H/S values reported by the drive are for compatibility only and bear no relation to the hardware layout).
However, it is likely that (in the absence of remapped blocks) simply writing blocks of adjacent logical blocks is the fastest option - that's because drives tend to be optimised to perform fast linear writes.