"In 2022, Earth is overpopulated and totally polluted; the natural resources have been exhausted and the nourishment of the population is provided by Soylent Industries, a company that makes a food [...]"
45 karma · joined December 7, 2017
"In 2022, Earth is overpopulated and totally polluted; the natural resources have been exhausted and the nourishment of the population is provided by Soylent Industries, a company that makes a food [...]"
The reason why I'm suggesting to have the same heap size for the benchmarks is that the maximum heap size is the single most important (tuning) setting for the JVM. Based on this setting the VM sizes its internal data structures and adepts its behavior.
Also, garbage collection times are typically* dependent on the size of the heap. With most* garbage collectors collecting a 32gb heap takes longer than collecting a 8gb heap. If the workload of the benchmark allows for the heap to be used entirely, then garbage collection overhead is directly related to the heap size.
* unless a "big heap" garbage collector like ZGC or Shenandoah is used
I think the JVM tests should have been executed with the same amount of heap allocated for each platform in order to get the internal dynamics/heuristics of the JVM to be comparable. IMHO all JVM tests should have been executed with -Xmx 7G (8 Gigs maximum as per the M1 MacBook Air minus a little something for the OS and the system buffers)
Still, I'm impressed with the Apple silicone.
"Visualization and "audibilization" of 15 Sorting Algorithms in 6 Minutes. Sorts random shuffles of integers, with both speed and the number of items adapted to each algorithm's complexity. The algorithms are: selection sort, insertion sort, quick sort, merge sort, heap sort, radix sort (LSD), radix sort (MSD), std::sort (intro sort), std::stable_sort (adaptive merge sort), shell sort, bubble sort, cocktail shaker sort, gnome sort, bitonic sort and bogo sort (30 seconds of it)."
I acknowledge that this is an honest mistake that might happen to me anytime.
I guess human error is the likeliest cause of data loss nowadays... :(
Anyways for my ext4 ubuntu desktop I immediately made some changes in response to this post:
* installed ext4magic and extundelete so I don't have to do it after the accident, potentiality overwriting the deleted file
* changed my 'll' alias to 'ls -lisah' to include the inode. I guess it's very likely that one does a file listing before moving files around and this can be a live saver.
Still, this would have been a non-issue on a ZFS system:
/var/recordings $ ll .zfs/snapshot/
total 72
drwxr-x---+ 7 root root 7 Apr 9 2019 0003/
drwxr-x---+ 7 root root 7 Apr 9 2019 auto-2020-11-26_00-00/
drwxr-x---+ 7 root root 7 Apr 9 2019 auto-2020-11-27_00-00/
drwxr-x---+ 7 root root 7 Apr 9 2019 auto-2020-11-28_00-00/
drwxr-x---+ 7 root root 7 Apr 9 2019 auto-2020-11-29_00-00/
drwxr-x---+ 7 root root 7 Apr 9 2019 manual-2020-10-05/
/var/recordings $ cp .zfs/snapshot/auto-2020-11-28_00-00/recording-16679.flv recording-16679.flv
(every directory/dataset contains an invisible .zfs directory "mounting" the snapshots of the dataset)If browser games were a usecase of mine, then I'd keep my safe "daily driver" Firefox for surfing the WWW with the mentioned restrictions in place. I'd use a separate Chrome browser as a "game client".
e.g. firefox > about:config:
* media.peerconnection.enabled false
* webgl.disabled true
[1] https://www.anandtech.com/show/15871/amperes-product-list-80...
kubernetes: https://github.com/richstokes/k8s-fah
Also the web client shows information about the executing tasks (e.g. [3][4]). The COVID19 tasks are prioritized and will be executed when you keep the target settings of the client at default ("Any").
[1] https://foldingathome.org/2020/03/10/covid19-update
[2] https://twitter.com/foldingathome/status/1238568504200253442
The F@H team COVID19@REDDIT[2] has ID 236269, if you are interested to join.
[1] https://www.reddit.com/r/COVID19
[2] https://folding.extremeoverclocking.com/team_summary.php?s=&...
-XX:MaxRecursiveInlineLevel=1 (default): 6.667 s
-XX:MaxRecursiveInlineLevel=2: 6.141 s
-XX:MaxRecursiveInlineLevel=3: 5.768 s
-XX:MaxRecursiveInlineLevel=4: 5.400 s
-XX:MaxRecursiveInlineLevel=5: 5.361 s
-XX:MaxRecursiveInlineLevel=6: 5.072 s
For comparison fib.c with -O3: 3.764 s
edit: formatting and adding more data points