Better HN
topnewbestaskshowjobs
Log inSign up

seastarer

59 karma · joined Apr 26, 2015 (11y ago) · 32 submissions

Submissions

comment 2w ago · link · parent

A multiplier also contains a generalized shifter network.

Multiplying by 2^n = shift by n.

comment 1mo ago · link · parent

https://www.phoronix.com/news/Intel-AVX10-Drops-256-Bit

comment 1mo ago · link · parent

The instruction was removed when Intel recommitted to AVX-512 on client CPUs (it is available in EVEX form IIRC)

comment 4mo ago · link · parent

You can try to re-vectorize the code for larger vector size.

comment 6mo ago · link · parent

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.

comment 11mo ago · link · parent

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.

comment 12mo ago · link · parent

Do these calculations take into account the lengthening of the days due to tidal friction?

comment 2y ago · link · parent

They should have refused

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

Now I'm imagining submarines full of illicit maple syrup

comment 2y ago · link · parent

You can implement a virtual machine monitor (e.g. KVM) and then launch a Linux virtual machine to run drivers you lack.

comment 3y ago · link · parent

The energy cost of extracting oxygen is higher than you'd get from burning it.

comment 4y ago · link · parent

ScyllaDB is a rearchitecting of Cassandra, not just a rewrite.

comment 4y ago · link · parent

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/

comment 4y ago · link · parent

No.

comment 4y ago · link · parent

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.

17.

Russia to drop out of International Space Station in 2024(theguardian.com ↗)

6 points · by seastarer · 4y ago · discuss

comment 9y ago · link · parent

Specialized logging applications, databases, userspace filesystems, and virtual machine monitors.

comment 9y ago · link · parent

It happens sometimes. Very often? Not in my experience

comment 9y ago · link · parent

Multi-Terabyte SSDs are very common. An i3.16xlarge instance on AWS, for example, has 15TB of SSD storage.

comment 9y ago · link · parent

> 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.

comment 9y ago · link · parent

The diagrams are now correct (the read/write diagram was placed under the mmap section by mistake).

comment 9y ago · link · parent

I see what happened, the read/write diagram got placed under mmap.

comment 9y ago · link · parent

Right, the mmap read hit is incorrect, I'll fix it up.

25.

ScyllaDB 1.7 released with counter support(scylladb.com ↗)

2 points · by seastarer · 9y ago · discuss

comment 10y ago · link · parent

You're going to be right on that guess. It will take some time though.

27.

Clustered ScyllaDB benchmark, 10X Cassandra(scylladb.com ↗)

9 points · by seastarer · 11y ago · discuss

comment 11y ago · link · parent

We plan to reduce power usage on low load eventually.

comment 11y ago · link · parent

It ought to. There may be a minor porting effort involved. Note you need very recent gcc.

comment 11y ago · link · parent

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.
12