Become a fan of Slashdot on Facebook


Forgot your password?
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 Internet speed test! ×

Comment Re:APFS is modern? (Score 1) 191

CPU (especially for operations like XOR for checksumming) is basically free.

'Premium storage media'. I've worked for vendors in the enterprise storage space for the past 17 years or so. Even the most expensive drives still fail in spectacular ways, from the oops (you asked to write to block 64 but it actually wrote to block 2048, but only 1/billion operations, and that's silent corruption) to the catastrophic (flying height issues, bearing issues, oil issues).

SSDs, while much better, also have software (firmware) bugs and also media issues. Trusting the media is a bad idea.

Comment Re:Fighting greed with greed (Score 1) 834

... but... I need an engineer with is an expert with the following languages: "Atari BASIC, Amiga 68000, GO, Rust, Erlang, COBOL'. No other candidates on the market other this particular foreign individual who happens to have all of them... phew!

(Change combinations, add extra required skills etc. BASIC and Woodwork? Whatever, it'll be enough.

I suspect you'd have to have someone who understands technology vet the requests as well.

Comment Re:Google can tell me the definition of hypocrisy (Score 1) 350

> why does the government get to have my name, contact info, salary history, and God knows what else?

IANAA, but I assume your government already knows your name, address, phone number, salary history, etc. Isn't that how they tax you?
The other stuff, I think, is things like promotions, which they *could* infer from salary, but that's probably not as accurate as they want it to be.

Comment Re:Yikes that's fast (Score 2) 324

No, I don't think so.
Common applications are multi-thread. Even at a basic level, one core driving the UI another driving the business logic.

Single thread might make a difference for games, but a well written game in 2016 won't be single threaded either.

P.S. My Note 7 reported 5499 multi-core, so it's like taking a flame thrower to the iPhone 7 plus number.

Comment Re:Compression (Score 1) 295

I've been using a Mac... including being an early adopter of Clusters.

HFS+ compression isn't designed for user files, which is why there are no native tools to use it *for end users*.
There are some hacky command line things you can do, but it's messy, can break, and is totally useless for anything that modifies the file (so, VMs, databases, and the like).

If you're going to use that, you may as well just zip the file and unzip it before you use it.

Comment Re: Compression (Score 1) 295

> That's common wisdom, but I don't think it stands up in the modern world. Here's my bonnie results on a softraid-5 partition with a 10GB test file:

Below is proof of that RLaager is accurate.

root@ViStAr:/fast/temp # bonnie -s 10000 -m zfs
File './Bonnie.29377', size: 10485760000
Writing with putc()...done
Writing intelligently...done
Reading with getc()...done
Reading intelligently...done
Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done...
              -------Sequential Output-------- ---Sequential Input-- --Random--
              -Per Char- --Block--- -Rewrite-- -Per Char- --Block--- --Seeks---
Machine MB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU /sec %CPU
zfs 10000 382297 99.0 1219601 95.8 716616 97.7 349655 99.9 1859572 99.5 19018.9 44.7

Another aside Gzip is terrible. Below is proof, but basically, as a benchmark tool it's about the worst thing you can use.

$ sudo dd if=/dev/random of=test.raw bs=555745280 count=1
1+0 records in
1+0 records out
555745280 bytes transferred in 12.883350 secs (43136706 bytes/sec)
$ du -hs test.raw
531M test.raw
$ sudo /usr/bin/time gzip -1 test.raw
      18.18 real 17.69 user 0.47 sys
$ ls -la test.raw.gz
-rw-r--r-- 1 root wheel 555914267 Jun 14 16:45 test.raw.gz

I can write to a compressed ZFS disk faster substantially faster than you were able to write uncompressed.
the filesystem being used is ZFS, with compression on.

Same filesystem with a highly compressable file shows this result:

$ sudo dd if=/dev/zero of=test.raw bs=555745280 count=1
1+0 records in
1+0 records out
555745280 bytes transferred in 0.493310 secs (1126564044 bytes/sec)
$ du -hs test.raw
512B test.raw
$ ls -la test.raw
-rw-r--r-- 1 root wheel 555745280 Jun 14 16:50 test.raw
$ sudo /usr/bin/time gzip -1 test.raw
test.raw.gz already exists -- do you wish to overwrite (y or n)? y
        3.79 real 2.02 user 0.20 sys
$ ls -lart test.raw.gz
-rw-r--r-- 1 root wheel 2425121 Jun 14 16:50 test.raw.gz

I was able to create the original dataset much faster than gzip was able to recreate it, and compress to a much greater level.
You can also do a similar thing with an all-ones file and get similar results though you won't get the whole punching effect that was seen with /dev/zero.

Comment Re:Compression (Score 1) 295

a) Implication that it's complex to add compression.

Other common filesystems have it, NTFS, ZFS, BTRFS. Given the amount of money Apple have, I doubt it's that complex.

b) Disks are cheap.

Looking at pricing, the difference between the 512GB SSD and 1TB SSD is £400. And if you choose incorrectly, you can't just open the case up and change it.
You could then use an external USB, as I do, but sleep/wake doesn't work properly, and endurance on USB keys isn't exactly ideal.
Or you could hang a whole powered drive off it, but then why have a laptop.

c) Nobody needs compression

I've got a couple of hundred GB of virtual machines. I save about 1/3 of the space by just compressing/uncompressing them all the time, but it's a waste.
I imagine a lot of developers would also find it useful; I'm playing around with 70GB text file I generated as part of some stuff I'm doing, and that compresses down to about 5GB when on my server on ZFS, but then I can't carry it with me (e.g. use on a train).

I could spin up a VM with ZFS in it, but then I'd need to hard-allocate a bunch of space to a fileserver... and back to square one.

You may have a different bunch of concerns. SSDs might be plenty big enough for you.

Slashdot Top Deals

Any given program will expand to fill available memory.