TIP: 7-zip's XZ compression on a multiprocessor system is often faster and compresses better than gzip

Hey folks, thought I'd share this little bit of info I discovered. For the longest time I've been using pigz (a gzip program which takes advantage of multicore capability) to compress my database backups. Out of curiosity (and that my backups keep getting larger) I wanted to see if using the xz format was possible. The xz program provided by xz-utils on my system isn't multithreaded (from the man page):

-T threads, --threads=threads
          Specify  the number of worker threads to use.  The actual number
          of threads can be less than threads if using more threads  would
          exceed the memory usage limit.

          Multithreaded  compression and decompression are not implemented
          yet, so this option has no effect for now.

          As of writing (2010-09-27), it hasn't been  decided  if  threads
          will  be  used  by default on multicore systems once support for
          threading has been implemented.  Comments are welcome.  The com-
          plicating  factor  is  that using many threads will increase the
          memory usage dramatically.  Note that if multithreading will  be
          the  default,  it  will probably be done so that single-threaded
          and multithreaded modes produce the same output, so  compression
          ratio  won't  be  significantly  affected  if  threading will be
          enabled by default.

This stinks because the server running the backups has 8 physical cores and no shortage of memory. I found out that 7z and 7za from p7zip create xz archives using multiple threads by default. I did some experiments on a dual-core system (Intel Core2 Duo E6420) with various compression programs and levels using a 2908748kb (2.7GB) database dump from my moodle server. The 7z command-line options are a little weird, but workable. Let me break down one of the commands I used: 7za a dummy -txz -mx3 -si -so <db.sql >7z3_db.sql.xz

Command Segment Explanation
7za 7za is the 7-zip binary. The difference between 7z and 7za is 7za doesn't load any plugins (only uses native algorithms). For our purposes there really is no difference.
a Add files to archive
dummy Necessary when compressing to stdout with the -so option.
-txz Sets the type of archive to xz.
-mx3 Sets the compression level to 3 (valid range is 0-9).
-si Compres
... keep reading on reddit โžก

๐Ÿ‘︎ 49
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/TyIzaeL
๐Ÿ“…︎ Dec 11 2013
๐Ÿšจ︎ report
World first operating system breakthrough puts quantum computing on a chip cambridgeindependent.co.uโ€ฆ
๐Ÿ‘︎ 136
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/QuantumThinkology
๐Ÿ“…︎ Jun 29 2021
๐Ÿšจ︎ report
You've heard of System On A Chip, how about Rig On A Board? imgur.com/a/IrB1Y6i
๐Ÿ‘︎ 16
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/biggiemokeyX
๐Ÿ“…︎ Jul 11 2021
๐Ÿšจ︎ report
We've seen the prototype uses Nvidia sodimm supercomputer chip. But that chip is expensive. Nvidia has this chip it anounced just a few weeks ago with the same form factor. Thoughts on it being for this lidar system?? It would make it a lot cheaper and therefore more attractive to auto companies cnx-software.com/2021/03/โ€ฆ
๐Ÿ‘︎ 81
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/winghouse1
๐Ÿ“…︎ Apr 29 2021
๐Ÿšจ︎ report
TIL about "The Whole Shabangs" potato chips, available almost exclusively from US Prison system commissaries. Ex-cons consider these chips to be the best chip out there, and a high-point of their incarceration. Many end up dismayed and disappointed at their lack of availability "on the outside". mentalfloss.com/article/8โ€ฆ
๐Ÿ‘︎ 51k
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/VivaNOLA
๐Ÿ“…︎ May 20 2019
๐Ÿšจ︎ report
dmesg: Cavium/Marvellยฎ ThunderX2ยฎ: ยซFreeBSD/SMP: Multiprocessor System Detected: 224 CPUsยป (arm64) dmesgd.nycbug.org/index.cโ€ฆ
๐Ÿ‘︎ 18
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/Mcnst
๐Ÿ“…︎ Jul 25 2019
๐Ÿšจ︎ report
How is the switch invariant in multiprocessor operating systems maintained?

I have been learning in my class about how multithreading libraries work under the hood, and one thing we talked about was the switch invariant. I understand how it works for the most part. We can disable interrupts and use guard variables to make sure that only one process is ever accessing the critical section of a locks lock function or similarly related functions. However, one thing that we didn't really dive into which I don't understand is how the switch invariant is maintained if a processor switches from the kernel code to a thread running user code.

๐Ÿ‘︎ 4
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/The_Drunk_Dutchess
๐Ÿ“…︎ Oct 09 2017
๐Ÿšจ︎ report
Found this ship in a Korvax system. Looks like someone still has a big chip on his shoulder (ship name). reddit.com/gallery/lj5vkn
๐Ÿ‘︎ 11
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/ChaseRansom
๐Ÿ“…︎ Feb 13 2021
๐Ÿšจ︎ report
'Organs-on-a-chip' system sheds light on how bacteria in the human digestive tract may influence neurological diseases medicalxpress.com/news/20โ€ฆ
๐Ÿ‘︎ 3
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/HearTomorrow
๐Ÿ“…︎ Jan 30 2021
๐Ÿšจ︎ report
Apple walks Ars through the iPad Proโ€™s A12X system on a chip arstechnica.com/gadgets/2โ€ฆ
๐Ÿ‘︎ 446
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/tits_for_tots
๐Ÿ“…︎ Nov 07 2018
๐Ÿšจ︎ report
My Luigis Mansion Disc Keeps Freezing every Gamecube I own ! I tried cleaning it with no results ( This Pic shows where it got stuck on ) I tried a stock Japanesse system a Japanesse system with a region mod a japanesse system with a xeno mod chip and an european system with an xeno mod chip Help ?
๐Ÿ‘︎ 11
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/SpookySKellyington
๐Ÿ“…︎ Feb 11 2020
๐Ÿšจ︎ report
[Source code] Allwinner, a Chinese system-on-a-chip company that makes the CPU shipped a version of its Linux kernel with a backdoor wikicoding.org/wiki/c/Kerโ€ฆ
๐Ÿ‘︎ 1k
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/Mr_Unix
๐Ÿ“…︎ May 28 2016
๐Ÿšจ︎ report
Modifying my SNES 1-CHIP to play super famicom...should I snip the tabs? Would I be devaluing my system on the open market? Or should I even give a damn? Personally, I don't think I do. WWYD
๐Ÿ‘︎ 5
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/Chubsmagna
๐Ÿ“…︎ Nov 10 2019
๐Ÿšจ︎ report
A patent application filed by Sony uses small RFID chips embedded on game discs to prevent used games from being played on its systems. arstechnica.com/gaming/20โ€ฆ
๐Ÿ‘︎ 2k
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/odhinn178
๐Ÿ“…︎ Jan 03 2013
๐Ÿšจ︎ report
Letโ€™s all chip in, hire out a club with a good sound system and make a track together on club speakers ๐Ÿ˜…๐Ÿคค
๐Ÿ‘︎ 6
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/HelpingOneAnother
๐Ÿ“…︎ Oct 18 2019
๐Ÿšจ︎ report
Some NVIDIA system-on-a-chip product lines will migrate to a new architecture using the RISC-V Instruction Set Architecture (ISA)

https://riscv.org/2019/02/adacore-enhances-security-critical-firmware-with-nvidia/

๐Ÿ‘︎ 54
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/dylan522p
๐Ÿ“…︎ Jul 01 2019
๐Ÿšจ︎ report
An Introduction to Multiprocessor Systems realworldtech.com/page.cfโ€ฆ
๐Ÿ‘︎ 7
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/pkhuong
๐Ÿ“…︎ Dec 16 2006
๐Ÿšจ︎ report
New 'organ-on-a-chip' system holds promise for drug toxicity screening: Researchers in the US have developed a new multi-organ-on-a-chip to test how new drugs affect the human body's vital organs new.eurekalert.org/pub_reโ€ฆ
๐Ÿ‘︎ 15
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/quantumcipher
๐Ÿ“…︎ Mar 04 2020
๐Ÿšจ︎ report
Apple claimโ€™s that their new A12 Bionic system on a chip thatโ€™s on their new iPad Pro is โ€œfaster than 92 percent of all portable PCs sold in the last 12 monthsโ€. venturebeat.com/2018/10/3โ€ฆ
๐Ÿ‘︎ 25
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/NanoPope
๐Ÿ“…︎ Oct 31 2018
๐Ÿšจ︎ report
AI system-on-chip runs on solar power youtube.com/watch?v=9IvTEโ€ฆ
๐Ÿ‘︎ 2
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/qptbook
๐Ÿ“…︎ Jun 17 2021
๐Ÿšจ︎ report
Tech giant Intel buys Hyderabad-based startup Indea Systems for an "experienced SOC (system on chip) team to help build a world-class discrete GPU business" timesofindia.indiatimes.cโ€ฆ
๐Ÿ‘︎ 81
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/bizude
๐Ÿ“…︎ Feb 18 2019
๐Ÿšจ︎ report
Good sized sugar maple with a very aggressive lean over the house. Set up a 6:1 pulley system with 3 guys pulling to get it to go into the ravine. Chip crews get to do fun things on occasion.
๐Ÿ‘︎ 28
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/10speedguy
๐Ÿ“…︎ May 08 2019
๐Ÿšจ︎ report
The tooth on-a-chip: a microphysiologic model system mimicking the biologic interface of the tooth with biomaterials pubs.rsc.org/en/Content/Aโ€ฆ
๐Ÿ‘︎ 18
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/JohnDoe_John
๐Ÿ“…︎ Dec 28 2019
๐Ÿšจ︎ report
CIA-BACKED NEW-AGE CULTS/SECT: Richard Dolan examines New-Age groups & the ties to "Deep State" - Is T.I./G.S. community a New-Age "cult/sect"? Yes, it's a PsyOp focused on transhumanism evolution (i.e. chips, DEW, RNM) - belief systems (Christianity) & social engineering (G.S.) youtu.be/gall-duZWik
๐Ÿ‘︎ 3
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/Undefined2020
๐Ÿ“…︎ Oct 27 2019
๐Ÿšจ︎ report
Nvidia unveils Orin, its next-gen SOC (System-on-a-chip) for autonomous vehicles and robots zdnet.com/article/nvidia-โ€ฆ
๐Ÿ‘︎ 24
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/izumi3682
๐Ÿ“…︎ Dec 18 2019
๐Ÿšจ︎ report
[WP] The worldโ€™s population has reached 10billion. Due to resource limitations, world governments have agreed on a โ€˜one out, one inโ€™ system in which couples wanting to be parents have to wait for a close friend or relative to die and give them their โ€˜life chipโ€™.
๐Ÿ‘︎ 6
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/OttoVonGoogleBelly
๐Ÿ“…︎ Apr 20 2019
๐Ÿšจ︎ report
New 'organ-on-a-chip' system holds promise for drug toxicity screening phys.org/news/2020-03-orgโ€ฆ
๐Ÿ‘︎ 3
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/subcortical
๐Ÿ“…︎ Mar 03 2020
๐Ÿšจ︎ report
I think it's unfair that only iOS users can get Pharaoh Bender. This is a great mission to farm because the xp you get. 3 60 xp chips for three different classes. The cost on fuel is only about 15. I think all future skins should be cross operating systems.
๐Ÿ‘︎ 38
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/BigDaddyQuade
๐Ÿ“…︎ Jul 08 2017
๐Ÿšจ︎ report
[WP] In the distant future, when someone dies, their mind is uploaded into a virtual afterlife based on their actions monitored through a special chip implanted at birth. You accidentally discover that consciousness uploading is impossible, and that the system exists to control the population.
๐Ÿ‘︎ 12
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/XxQuarterizexX
๐Ÿ“…︎ Nov 17 2019
๐Ÿšจ︎ report
When did NES Clone Console Manufacturers go from using Hardware Cloning to NES-On-A-Chip style systems?

So I know consoles like the early MicroGenius, Dendy and HiTek clones used aftermarket chips and replicated the entire boards to clone the NES.

What I'm curious about is when the tech required to completely clone the console onto a single chip became the standard? It had to have been some time in the 90s yeah? anyone know any more about this?

๐Ÿ‘︎ 3
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/Mattzocrazy
๐Ÿ“…︎ Jan 09 2020
๐Ÿšจ︎ report
How did pringles settle on such a shitty chip delivery system?
๐Ÿ‘︎ 2
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/Crimsai
๐Ÿ“…︎ Jun 01 2019
๐Ÿšจ︎ report
Finally found one! The elusive 1-chip-03. SN 3206xxxxx. I have been looking for one for a long long time! Found a Craigslist seller selling fairly best up system on the top for $50 almost passed decided to ask for the SN, and I was at his house 10 minutes later :D
๐Ÿ‘︎ 35
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/Spazilton
๐Ÿ“…︎ Apr 09 2017
๐Ÿšจ︎ report
AI system outperforms humans in designing floorplans for microchips. A machine-learning system has been trained to place memory blocks in microchip designs. The system beats human experts at the task, and offers the promise of better, more-rapidly produced chip designs than are currently possible. nature.com/articles/d4158โ€ฆ
๐Ÿ‘︎ 2
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/worldnewsbot
๐Ÿ“…︎ Jun 10 2021
๐Ÿšจ︎ report
The Intel Management Engine (ME): There's a "separate chip that no one is allowed to audit or examine" in your Intel computer, "exposing every recent Intel system to the worst rootkits imaginable", with "a TCP/IP server on your network interface" that can "bypass any firewall running on your system"

https://boingboing.net/2016/06/15/intel-x86-processors-ship-with.html

> Recent Intel x86 processors implement a secret, powerful control mechanism that runs on a separate chip that no one is allowed to audit or examine. When these are eventually compromised, they'll expose all affected systems to nearly unkillable, undetectable rootkit attacks.

> ...

> The Intel Management Engine (ME) is a subsystem composed of a special 32-bit ARC microprocessor that's physically located inside the chipset. It is an extra general purpose computer running a firmware blob...

> ...

> On some chipsets, the firmware running on the ME implements a system called Intel's Active Management Technology (AMT). This is entirely transparent to the operating system, which means that this extra computer can do its job regardless of which operating system is installed and running on the main CPU.

> ...

> ME [is] a huge security loophole, and it has been called a very powerful rootkit mechanism. Once a system is compromised by a rootkit, attackers can gain administration access and undetectably attack the computer.

> ...

> There is no way for the x86 firmware or operating system to disable ME permanently. Intel keeps most details about ME absolutely secret. There is absolutely no way for the main CPU to tell if the ME on a system has been compromised, and no way to "heal" a compromised ME. There is also no way to know if malicious entities have been able to compromise ME and infect systems.

> A large portion of ME's security model is "security through obscurity", a practice that many researchers view as the worst type of security. If ME's secrets are compromised (and they will eventually be compromised by either researchers or malicious entities), then the entire ME security model will crumble, exposing every recent Intel system to the worst rootkits imaginable.

๐Ÿ‘︎ 54
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/ydtm
๐Ÿ“…︎ Jun 17 2016
๐Ÿšจ︎ report
Android 10 ported to homegrown multi-core RISC-V system-on-chip by Alibaba biz, source code released theregister.com/2021/01/2โ€ฆ
๐Ÿ‘︎ 13
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/yogthos
๐Ÿ“…︎ Jan 23 2021
๐Ÿšจ︎ report
How common is it that a Sega Genesis on a Chip Console will play Sega Master System games with either an adapter or compatible flashcart?
๐Ÿ‘︎ 5
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/ZetTheLegendaryHero
๐Ÿ“…︎ Oct 22 2018
๐Ÿšจ︎ report
Googleโ€™s Pixel 4 rumored to support air gesture system - based on radar on a chip arstechnica.com/gadgets/2โ€ฆ
๐Ÿ‘︎ 12
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/tetrimbath
๐Ÿ“…︎ Jun 12 2019
๐Ÿšจ︎ report
Two quick questions about my Wardway waffle maker. If I'm going to toss it in a lye tank, should I try to remove the handles first? There is a chip on the edge. (See pictures) I suspect it's still usable but are there any ways to cover the hole? reddit.com/gallery/rhuvkv
๐Ÿ‘︎ 24
๐Ÿ’ฌ︎
๐Ÿ‘ค︎ u/Joe_B_Likes_Tacos
๐Ÿ“…︎ Dec 16 2021
๐Ÿšจ︎ report

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.