1,284 karma · joined Oct 6, 2011 (15y ago) · 430 submissions
comment 9y ago · link · parent
Not really: zfs is available in aur as a dkms package. Pacman automatically rebuilds dkms modules when it updates the kernel. All you'd need to do is modify mkinitcpio.conf to include "zfs" in the HOOKS at the appropriate stage.
So: more complicated that just using ext4, but not "maintain my own kernel" level of difficulty.
comment 9y ago · link · parent
I recently started using `snapper` to create snapshots on a schedule on them. I enabled quota support in btrfs so I could see how much space snapshots were using.
I noticed that filesystem wide latency tended to spike when removing snapshots (several minutes of all fs access stalling).
Balancing with quotas enabled is even worse: my systems were hung for multiple days, until I forcibly restarted them and disabled quotas. Then the fs hangs were much smaller (a few seconds) and not to noticeable. Balancing finished in something on the order of an hour.
While I had quotas enabled, I was constantly having btrfs tell me the data was bad and needed rescanning (rescanning quotas would also induce fs wide latency).
The thing is, ZFS has snapshot space usage info, and doesn't have awful latency (it also doesn't have a "balance" operation, but I'm not sure how relevant that is).
Given my experience with both btrfs & ZFS, I'll likely consider using ZFS as my rootfs in the future.
comment 9y ago · link · parent
In the happy case, yes, virtual memory will save us. But there are a lot of ways we could still end up loading the junk into ram.
Also, there are potential runtime costs to it being larger just on disk (need to seek over it, etc).
comment 9y ago · link · parent
This was mainly an example to show that "paths" in some sense are (or could be) handled by file systems, not an actual design I'd aspire to :)
comment 9y ago · link · parent
> Your hypothetical driver would need to keep a double-mapping: from inodes to paths, and then from paths to whatever else.
As I've noted in another comment, inodes (`struct inode` in linux) typically contain a lot of information. No additional mapping would be required.
comment 9y ago · link · parent
"file descriptors" taken _literally_ don't exist (they are just the interface exposed to user space programs). Linux uses `struct file` internally as the generic file tracking, and multiple file descriptors can refer to a single `struct file`. `struct file` in turn refers to a `struct inode`, which represents an actual "something" on disk. Each file system driver stores a bunch of info in the `struct inode`.
In addition to that tracking, there is generally a bunch of fs-specific data structures to handle lookup of names (in the typical case, these are essentially cached versions of what is stored on disk).
comment 9y ago · link · parent
comment 9y ago · link · parent
Also, lazy-static has been around for a long time. Releases first occurred in 2014! I'd be surprised if it had not been considered.
comment 9y ago · link · parent
So they only need to be cheaper by $20K over a couple of years for it to be worth it?
That seems like a fairly small cost to overcome.
And if there isn't very much demand for H1Bs, even with "bidding" we'd expect the cost to companies to stay the same.
It isn't clear to me why prioritizing the value of an employee (as measured by how much they are paid) would not be an effective way of prioritizing H1B visas.
comment 9y ago · link · parent
Note that there were slightly over 1 million applications for asylum in Europe in 2015 [1]. I can't find numbers for totals in 2016, but [2] has some raw statistics & charts. Note that these numbers don't account for migrants that don't apply for asylum (which could be a very small or a very large percentage, but is likely non-zero).
I can't speak for the "changing the social fabric" bit though.
[1]: http://www.bbc.com/news/world-europe-34131911
[2]: http://ec.europa.eu/eurostat/statistics-explained/index.php/...
[cache of 2]: http://webcache.googleusercontent.com/search?q=cache:ki9SPSv...
comment 9y ago · link · parent
Beaglebone black-like system boards are used for both development & production. I almost shipped a system like this personally. With the BBB, you can get slightly modified versions, in bulk, and with enough availability to satisfy purchasing. Even if you couldn't, the SoC on the BBB can be bought from TI. I imagine there are similar things for more modern, powerful SoCs. Many companies like isolating the complicated timing sensitive board design (as needed for NAND and off chip memory) from the rest of their design, and don't necessarily have the skills in house to do that type of layout. Pre-made boards like the BBB provide a lower cost option than a completely custom board.
With the RPis, you can't even buy the SoC. I'm not aware of anyone you can buy slightly modified (ie: unneeded components pulled) boards from in bulk.
comment 9y ago · link · parent
If you browse from linux, it shows links to directly download the ISO files.
I'm not sure what it does if you browse from MacOS.
Maybe try changing your browser's useragent? Frankly, it is a bit annoying that Microsoft tries to push their download tool.
comment 9y ago · link · parent
This theoretically allows more proportional representation by, essentially, preventing 1 group from electing their representatives of choice to (in this case) 2 positions (ignoring an overwhelming majority & certainty of it)
I'd be interested to see how effective a "runner-up-selection" methodology would be if applied in a more general case.
comment 9y ago · link · parent
SOCK_DGRAM at least appears to be widely supported (FreeBSD & Illumos & OpenBSD). SOCK_SEQPACKET is at least supported by OpenBSD (I'm going by what's in various docs/man pages).