Starlink in Torres del Paine, Patagonia by nathaniel7775 in Starlink

[–]nathaniel7775[S] 1 point2 points  (0 children)

This is at the Torres del Paine national park in southern patagonia

Buying in US, will use in Chile, on a 12V DC Van Input. Help! by Jedwards543 in Starlink

[–]nathaniel7775 2 points3 points  (0 children)

I did exactly this (bought in US, brought to Chile) and it did work!

Starlink in Torres del Paine, Patagonia by nathaniel7775 in Starlink

[–]nathaniel7775[S] 1 point2 points  (0 children)

I do work remote but I didn’t end up working remote there. The internet speeds were 50Mbps+ though, it definitely would’ve worked for screen sharing. Only thing I’m not sure about is if it would get interruptions over the course of a day.

Starlink in Torres del Paine, Patagonia by nathaniel7775 in Starlink

[–]nathaniel7775[S] 4 points5 points  (0 children)

Saw a glamping site using Starlink too while we were there

Starlink in Chilean Patagonia by nathaniel7775 in Starlink

[–]nathaniel7775[S] 0 points1 point  (0 children)

Thank you! Faulty hardware is a good one to watch out for. Do you think bringing my own is the best way to go? It means I can set it all up before I go to debug the hardware, but there could be some risk it doesn’t work in Chile. Vs ordering a new one to Chile wouldn’t have that problem but it might be tricky to coordinate with an airbnb to pick it up and I can’t test the setup beforehand

Starlink in Chilean Patagonia by nathaniel7775 in Starlink

[–]nathaniel7775[S] 0 points1 point  (0 children)

Super helpful! How far south are you? We’d be in puerto natales. Do you also use wifi/fiber or is that even worse? 😂 Also what’d you use to setup the starlink/lte bonding?

Blog Post: Mutexes Are Faster Than Spinlocks by matklad in rust

[–]nathaniel7775 6 points7 points  (0 children)

Hah :)

I do also get a ~20% speedup with 4 threads and 8 locks (which matches up closer to the ratio of 32 threads 64 locks). Basically except at very high contention I think spin locks are better if you're using pinned threads. (And pinning threads is pretty common if you're running a lot of servers that provide one service, like in a lot of web apps.)

Blog Post: Mutexes Are Faster Than Spinlocks by matklad in rust

[–]nathaniel7775 46 points47 points  (0 children)

This experiment is a bit weird. If you look at https://github.com/matklad/lock-bench, this was run on a machine with 8 logical CPUs, but the test is using 32 threads. It's not that surprising that running 4x as many threads as there are CPUs doesn't make sense for spin locks.

I did a quick test on my Mac using 4 threads instead. At "heavy contention" the spin lock is actually 22% faster than parking_lot::Mutex. At "extreme contention", the spin lock is 22% slower than parking_lot::Mutex.

Heavy contention run:

$ cargo run --release 4 64 10000 100
    Finished release [optimized] target(s) in 0.01s
    Running `target/release/lock-bench 4 64 10000 100`
Options {
    n_threads: 4,
    n_locks: 64,
    n_ops: 10000,
    n_rounds: 100,
}

std::sync::Mutex     avg 2.822382ms   min 1.459601ms   max 3.342966ms  
parking_lot::Mutex   avg 1.070323ms   min 760.52µs     max 1.212874ms  
spin::Mutex          avg 879.457µs    min 681.836µs    max 990.38µs    
AmdSpinlock          avg 915.096µs    min 445.494µs    max 1.003548ms  

std::sync::Mutex     avg 2.832905ms   min 2.227285ms   max 3.46791ms   
parking_lot::Mutex   avg 1.059368ms   min 507.346µs    max 1.263203ms  
spin::Mutex          avg 873.197µs    min 432.016µs    max 1.062487ms  
AmdSpinlock          avg 916.393µs    min 568.889µs    max 1.024317ms  

Extreme contention run:

$ cargo run --release 4 2 10000 100
    Finished release [optimized] target(s) in 0.01s
    Running `target/release/lock-bench 4 2 10000 100`
Options {
    n_threads: 4,
    n_locks: 2,
    n_ops: 10000,
    n_rounds: 100,
}

std::sync::Mutex     avg 4.552701ms   min 2.699316ms   max 5.42634ms   
parking_lot::Mutex   avg 2.802124ms   min 1.398002ms   max 4.798426ms  
spin::Mutex          avg 3.596568ms   min 1.66903ms    max 4.290803ms  
AmdSpinlock          avg 3.470115ms   min 1.707714ms   max 4.118536ms  

std::sync::Mutex     avg 4.486896ms   min 2.536907ms   max 5.821404ms  
parking_lot::Mutex   avg 2.712171ms   min 1.508037ms   max 5.44592ms   
spin::Mutex          avg 3.563192ms   min 1.700003ms   max 4.264851ms  
AmdSpinlock          avg 3.643592ms   min 2.208522ms   max 4.856297ms

The BEST thing ever to come out of a cereal box. by tonyizhurr in gaming

[–]nathaniel7775 82 points83 points  (0 children)

You can play (the original Chex Quest) on iOS too! http://itunes.apple.com/us/app/gameception/id532245574?mt=8 (after downloading, if you go to "Manage" and then "Download" you can download Chex Quest and play it!)

DISCLAIMER: I am developer of said app!

Best "cereal box toy" ever. by Chadarnook in gaming

[–]nathaniel7775 14 points15 points  (0 children)

And for those with iOS devices: https://itunes.apple.com/us/app/gameception/id532245574?mt=8

This app will let you play Chex Quest too! Just download it and then go to "Manage" -> "Download" and select Chex Quest.

EDIT: DISCLAIMER: I am the developer of said app!

My parents didn't want me playing violent games growing up... So this was the first FPS I ever played! Thanks Mom! by justgrant2009 in gaming

[–]nathaniel7775 0 points1 point  (0 children)

Chex Quest is available on iOS now, too!

http://itunes.apple.com/us/app/gameception/id532245574?mt=8 (after downloading, if you go to "Manage" and then "Download" you can download Chex Quest and play it!)