Better HN
topnewbestaskshowjobs
Log inSign up

chilledheart

90 karma · joined Sep 14, 2013 (13y ago) · 17 submissions

blog http://windyland.me
Submissions

comment 7y ago · link · parent

It is true and that's probably the most unclear part of the original blog. I think the author has given some kind of advice -- use a vnet based on host-bridge -- not sure why he just commented out from the script. In my understanding, if I am working on a laptop, I can just set SNAT rules which allow traffic from a private network to go out to the internet. Given that the number of connection won't be large (no more than 400 connections, or 500, a usual number of open file for one process), it is acceptable that the new connections can wait until a period of time.

comment 7y ago · link · parent

Then it might be even harder to do it right in Linux than FreeBSD. It is because Linux's ABIs change so frequently that you have to stick to some distributions to follow even if you want broader support :-)

comment 7y ago · link · parent

Thanks for sharing the scripts. The instruction is intuitive -- well organized and contains a very detailed description of the virtual disk part, very neat comments. As a long-time user of OS X and homebrew, I must say I become very interested in your solution -- running PostgreSQL natively on OS X, or macOS.

However, it makes me so confused that if it is your intention to run something heavy in a consumer-level Operating System. As far as I know, macOS has a newly-added but slowly-performed file system, named APFS. It might be good enough for single disk request but not good for the concurrent requests (like 4; ; ) -- I am not questioning/blaming about the old port design of either xhyve, OS X, or even hardware architecture SCSI, but that's where we can start now.

Anyway, there is a newly-adopted storage technology named NVME emulation which might help a lot in your case -- not only it handles with lots of disk requests at the same time (65535 queues and 65535 commands per queue), but also the architecture makes it possible to program the controller code in software, especially in user world. I don't know all details of NVMe but it works well in my experience -- both of consumer level and enterprise level -- it brings smooth disk latency in the virtual machine even under a very high bandwidth (50Gib transfer in nearly half a minute, can you believe that?). Do you know if it is possible to use NVMe emulation for faster disk access in xhyve and accelerate the PostgreSQL execution natively?

- SCSI: https://en.wikipedia.org/wiki/SCSI - NVME: https://en.wikipedia.org/wiki/NVM_Express

comment 8y ago · link · parent

I don't have much content on CoreDNS. But from the description in the README, https://github.com/coredns/coredns/blob/master/README.md, I guess it acts as a flexible and programmable entry service for underlying services and can do many applications such as Load Balance, depending on plugins.

5.

C++11 and C++14 use in Chromium(chromium-cpp.appspot.com ↗)

2 points · by chilledheart · 9y ago · discuss

6.

Block-layer I/O polling merged into Linux kernel(lwn.net ↗)

109 points · by chilledheart · 10y ago · 13 comments

7.

GitHub 500 page(github.com ↗)

2 points · by chilledheart · 11y ago · discuss

8.

LLVM 3.6 Release(lists.cs.uiuc.edu ↗)

2 points · by chilledheart · 11y ago · discuss

9.

Static Lambdas: Initializing lambdas at compile time(pfultz2.com ↗)

2 points · by chilledheart · 12y ago · discuss

10.

The LLVM 64-bit ARM64/AArch64 Back-Ends Have Merged(phoronix.com ↗)

41 points · by chilledheart · 12y ago · 10 comments

comment 12y ago · link · parent

Correct me if I am wrong.

I saw no evidence in the project showing that this file has BSD-style license.And since it is part of the windows SDK, it is nearly impossible to be BSD-style licensed.

Maybe it was included from foxit's code or other codebase but it is better to be put into the thirdparties directory due to the license issue.

Edited:

Thanks for pointing out my misconception about Windows SDK.

comment 12y ago · link · parent

What about this one ?

https://pdfium.googlesource.com/pdfium/+/master/core/src/fxg...

"/\ * * Copyright (c) 1998-2000, Microsoft Corp. All Rights Reserved. * * Module Name: * * Gdiplus.h * * Abstract: * * GDI+ Native C++ public header file * \/ "

comment 12y ago · link · parent

Nope, Ubuntu Kylin is a more likely alternative. see more http://www.ubuntu.com/desktop/ubuntu-kylin

14.

Very Strong C++ Track at the NDC Conference(blog.knatten.org ↗)

1 points · by chilledheart · 12y ago · discuss

comment 12y ago · link · parent

Maybe JXcore will come with a new LLVM Javascript Frontend?

Looking forward to it.

http://jxcore.com/jxcore-llvm-javascript-frontend-b/

comment 12y ago · link · parent

edited

press release available here: http://insights.ubuntu.com/news/ubuntu-14-04-lts-the-cloud-p..., though the release build is not out(only daily build yet).

comment 12y ago · link · parent

I hope ry can bring us more surprise for node for he invented node and libuv.On the contrary, I didn't see any new techs from Isaac or TJ Fontaine to compare with both of two yet.