HNHacker News
TopNewBestAskShowJobs

seastarer

51 karma · joined April 26, 2015

submissionscomments
seastarer··on RISC-V Is Inevitable: State of the Union Keynote Argues
You can try to re-vectorize the code for larger vector size.
seastarer··on Removing fsync from our local storage engine
It's more correct to use O_DSYNC in addition to O_DIRECT. This adds FUA to the disk write if the disk requires it for durability.
seastarer··on What Does a Database for SSDs Look Like?
It is actually very cheap if done right. Enterprise SSDs have write-through caches, so an O_DIRECT|O_DSYNC write is sufficient, if you set things up so the filesystem doesn't have to also commit its own logs.
seastarer··on A Fast 64-Bit Date Algorithm (30–40% faster by counting dates backwards)
Do these calculations take into account the lengthening of the days due to tidal friction?
seastarer··on The Lunacy of Artemis
They should have refused
seastarer··on TSMC unveils 1.6nm process technology with backside power delivery
Translating 197 M/mm2 into the dimensions of a square, we get a dimension of 71nm. If we compute the "half-pitch", that's 35.5nm.

230 M/mm2 translates to 33nm "half-pitch".

Of course, transistors aren't square and aren't so densely packed, but these numbers are more real IMO.

seastarer··on Canada's maple syrup reserve hits 16-year low
Now I'm imagining submarines full of illicit maple syrup
seastarer··on Maestro: A Linux-compatible kernel in Rust
You can implement a virtual machine monitor (e.g. KVM) and then launch a Linux virtual machine to run drivers you lack.
seastarer··on Power on the moon: What will it take to survive the lunar night?
The energy cost of extracting oxygen is higher than you'd get from burning it.
seastarer··on New ScyllaDB Go Driver: Faster Than GoCQL and Its Rust Counterpart
ScyllaDB is a rearchitecting of Cassandra, not just a rewrite.
seastarer··on How Discord supercharges network disks for extreme low latency
Some more data on Google PD: https://raw.githubusercontent.com/scylladb/diskplorer/master...

Very odd - notice how the latency is high when the read IOPS are low. When the read IOPS climb, 95th percentile latency drops.

Looks like there is a constant rate of high latency requests, and when the read IOPS climb, that constant rate moves to a higher quantile. I'd inspect the raw results but they're quite big: https://github.com/scylladb/diskplorer/blob/master/latency-m...

Background: https://github.com/scylladb/diskplorer/

seastarer··on How Discord supercharges network disks for extreme low latency
No.
seastarer··on How Discord supercharges network disks for extreme low latency
Persistent Disk read latency is usually good, but jitters up to 100ms. The scheduler can compensate for high latency (essentially applying Little's Law) but cannot compensate for jitter without saturating the disk.
seastarer··on I/O Access Methods for Linux
Specialized logging applications, databases, userspace filesystems, and virtual machine monitors.
seastarer··on I/O Access Methods for Linux
It happens sometimes. Very often? Not in my experience
seastarer··on I/O Access Methods for Linux
Multi-Terabyte SSDs are very common. An i3.16xlarge instance on AWS, for example, has 15TB of SSD storage.
seastarer··on I/O Access Methods for Linux
> If you know your read and write patterns very well you can effectively use this for nearly asynchronous IO without the pains of AIO and few to none extra threads.

This may work for sequential reads, but not for random reads.

seastarer··on I/O Access Methods for Linux
The diagrams are now correct (the read/write diagram was placed under the mmap section by mistake).
seastarer··on I/O Access Methods for Linux
I see what happened, the read/write diagram got placed under mmap.
seastarer··on I/O Access Methods for Linux
Right, the mmap read hit is incorrect, I'll fix it up.
seastarer··on Designing the Scylla Userspace Disk I/O Scheduler (Part 1)
You're going to be right on that guess. It will take some time though.
seastarer··on Seastar: C++ framework for high-performance servers
We plan to reduce power usage on low load eventually.
seastarer··on Seastar: C++ framework for high-performance servers
It ought to. There may be a minor porting effort involved. Note you need very recent gcc.
seastarer··on Seastar: C++ framework for high-performance servers
Thanks. We "disable" C-states by polling -- the cpu never goes idle. This is partly because dpdk doesn't support interrupts, and partly because using interrupts is a major performance hit. We have plans to improve this, but nothing committed yet.
seastarer··on Seastar: C++ framework for high-performance servers
Do you have a link to this cluster-on-die mode?
seastarer··on Seastar: C++ framework for high-performance servers
In posix mode, seastar uses the host's TCP stack (instead of the internal super-fast stack). This is useful for development. While we haven't ported it to osx, it should be fairly easy as the code is portable.

Note you'll need gcc 4.9 or later.