Better HN
topnewbestaskshowjobs
Log inSign up

termie

280 karma · joined Jan 7, 2009 (17y ago) · 66 submissions

Submissions

comment 1y ago · link · parent

I've been working on a micro Linux distro for a couple of months now. User mode is just a single static binary (and a few files to support confidential microVM containers). The initramfs is such an interesting feature, the kernel knows how to unpack cpio archives and just magically drops you into a tmpfs and executes /init. You can have multiple concatenated cpio archives, and each can be compressed, and they all just overlay in sequence. There's an elegance to the design. I also had to write some code to unpack them and learned more than I wanted to.

comment 4y ago · link · parent

Compare the size of the new air-cooled 40XX cards and the iChill 4090, which is tiny by comparison. The simple answer is just to use liquid cooling if you have a card using 400w. Then all the absurdity just goes away.

comment 5y ago · link · parent

perf https://perf.wiki.kernel.org/index.php/Tutorial#Counting_wit...

comment 6y ago · link · parent

Rust is also discussed at 35:00 into the presentation, noting the lack of a spec, higher memory util, and no commmercial vendor.

comment 6y ago · link · parent

run a perf trace on both and see what jumps out

comment 7y ago · link · parent

ProxyJump was added in OpenSSH 7.3 so systems from a few years ago might not support it. It does the same thing as ProxyCommand with -W %h:%p but you can’t set custom options for the jump connection with ProxyJump.

7.

Stratum – Enabling the era of next-generation SDN(github.com ↗)

2 points · by termie · 7y ago · discuss

comment 7y ago · link · parent

Yes, the kernel will map virtual to physical however it sees fit, no guarantees there (at least not in user-space via glibc). Realloc will always return a virtually contiguous slice or NULL if it can’t. And you’re right, obviously all those potential subordinate mallocs would be inefficient. :) In this contrived FizzBuzz example case, you could pretty easily do the math and just malloc it all in one go at the start of the function. Fizz and Buzz are the same size, you would just need to add up the iota lengths and the trailing \0. If you take an arg for N (1..N) then stack allocations are not going to work. You need to statically declare their size.

comment 7y ago · link · parent

You can use realloc. It will try to use the existing contiguous span of memory, but if it cannot, it will malloc a new span and copy the previous bytes in and return a pointer to it.

comment 7y ago · link · parent

Someone has to make a business case to get the chargers on the street. There are questions like who owns the sidewalk, how to route sufficient power there, capital outlay for digging up the street and getting the charger there. All those costs and up and the revenue for a given charger is capped. People might pay a premium over the the cost of electricity, but how much? And they have to compete with free charging in many cases.

comment 7y ago · link · parent

The throughput is amazing. The screenshot shows 28,375 MB/s — the capital B typically indicates Bytes whereas a lowercase b indicates bits, so your Gb/s translation is a little confusing. The latency is still much higher than main memory or Optane, but that might be fine for many applications.

comment 7y ago · link · parent

The upcoming MKTME support in future Intel processors will hopefully make this problem simpler to solve.

comment 7y ago · link · parent

It is possible to sell (or buy) reserved instances in a secondary market: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ri-marke...

comment 7y ago · link · parent

This is from mid 2017. "First notified Tesla on 31/08/2017 .. Tesla vehicles produced from June onwards use a new key fob". Not sure if the new fob is significantly better as the presentation is not clear there.

comment 7y ago · link · parent

..by the Republican majority House of Representatives. It can be roughly equated to being charged with a crime. The Senate held a trial and voted for acquittal and therefore no action was taken. Two thirds of the Senate must vote to remove a President from office.

comment 7y ago · link · parent

This is promising, but for dedicated high-performance I/O I am much more interested in how the SPDK is progressing. Avoiding syscalls is great, but without any benchmarks I wonder about the benefits over mmap and vectorizing. You still have to contend with locking, interrupts, copying, and ring 0 abstraction impedence.

[1] https://spdk.io

comment 8y ago · link · parent

Curious as to which 10Gb Ethernet controller is being used, no mention in the teardown. Anyone know?

comment 8y ago · link · parent

That would seem to depend on the leadership. You might get the leader’s former job.

comment 8y ago · link · parent

Perhaps the solid cells could be warmed up via some cheap coils powered by some bootstrapping liquid cells?

comment 8y ago · link · parent

Try more parenthesis or perlmonks.com

comment 8y ago · link · parent

Curious to know if they block Google’s DNS servers as well. That 1.x space was a RIPE research segment, so it’s possible that some internal AT&T group was using it with the assumption it would not be publicly routable and got bit. I was enjoying the shorthand ping of 1.1 for my router at home until Cloudflare took it over. Needless to say, if that was the case for AT&T, their ‘fix’ is not at all acceptable.

comment 9y ago · link · parent

Still kinda giddy about the Roadster, too. Guilty — can’t get enough of Elon’s disruption (personal life aside) —- sue me or grab the pitchforks.. i’ll serve you lemonade. :)

comment 9y ago · link · parent

If the math works there — could now or over time — then once L5 hits imagine the possibilities. L5 trucks towing broken L5 trucks with a third taking the cargo. I missed the video, but I’d bet huge that needed tech is probably prototyped already, at least in the elonoggin. Well done Elon!

comment 9y ago · link · parent

Bash’s built-in wait is also handy when you want quick and simple parallelism. http://tldp.org/LDP/abs/html/x9644.html

comment 9y ago · link · parent

The reserved instance pricing model is really poorly implemented. You have to commit to an instance class and a region, and if you need to change you can, but there is some secondary market. When compared to a sustained use model, it is a disaster. Managing all that in a large org is a real pain in the ass.
123