• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Is there any way to compress 10GB of anything to 1MB with WinRAR?

youself553

New Member
Joined
Jun 1, 2019
Messages
2 (0.00/day)
How do I compress 10GB of anything to 40MB with WinRAR?
My specs:
CPU: AMD Athlon II X2 250
iGPU: AMD Radeon HD 3200 IGP
RAM: 2 GB RAM
Disk Drive Type: HDD
 

Solaris17

Super Dainty Moderator
Staff member
Joined
Aug 16, 2005
Messages
25,892 (3.79/day)
Location
Alabama
System Name Rocinante
Processor I9 14900KS
Motherboard EVGA z690 Dark KINGPIN (modded BIOS)
Cooling EK-AIO Elite 360 D-RGB
Memory 64GB Gskill Trident Z5 DDR5 6000 @6400
Video Card(s) MSI SUPRIM Liquid X 4090
Storage 1x 500GB 980 Pro | 1x 1TB 980 Pro | 1x 8TB Corsair MP400
Display(s) Odyssey OLED G9 G95SC
Case Lian Li o11 Evo Dynamic White
Audio Device(s) Moondrop S8's on Schiit Hel 2e
Power Supply Bequiet! Power Pro 12 1500w
Mouse Lamzu Atlantis mini (White)
Keyboard Monsgeek M3 Lavender, Akko Crystal Blues
VR HMD Quest 3
Software Windows 11
Benchmark Scores I dont have time for that.
generally not, you can play with the compression algorithm, but compression ratio % is based off of the type of data being compressed.

They do have ways to do it, but only with data that can be compressed in very high levels. We actually use it in networking to stop bots.

 
D

Deleted member 24505

Guest
generally not, you can play with the compression algorithm, but compression ratio % is based off of the type of data being compressed.

They do have ways to do it, but only with data that can be compressed in very high levels. We actually use it in networking to stop bots.


Thanks, that was a interesting little read.
 
Joined
Oct 24, 2004
Messages
1,294 (0.18/day)
How would you use this script to protect a nextcloud instance ?

What would be the name of the php file, in order to catch a bot ?
 
Joined
Jul 25, 2006
Messages
12,147 (1.87/day)
Location
Nebraska, USA
System Name Brightworks Systems BWS-6 E-IV
Processor Intel Core i5-6600 @ 3.9GHz
Motherboard Gigabyte GA-Z170-HD3 Rev 1.0
Cooling Quality case, 2 x Fractal Design 140mm fans, stock CPU HSF
Memory 32GB (4 x 8GB) DDR4 3000 Corsair Vengeance
Video Card(s) EVGA GEForce GTX 1050Ti 4Gb GDDR5
Storage Samsung 850 Pro 256GB SSD, Samsung 860 Evo 500GB SSD
Display(s) Samsung S24E650BW LED x 2
Case Fractal Design Define R4
Power Supply EVGA Supernova 550W G2 Gold
Mouse Logitech M190
Keyboard Microsoft Wireless Comfort 5050
Software W10 Pro 64-bit
How do I compress 10GB of anything to 40MB with WinRAR?
They do have ways to do it
I don't believe that is true in this scenario. 40,000,000/10,000,000,000 = 0.004 or .4%. It would be nearly impossible to compress anything that much. You are talking a compression ratio of over 99%! The example given in Solaris17's link is not realistic at all (a file with nothing but 0s).

Perhaps, maybe, if in some very rare and extreme circumstance your original file did contain 10GB of just 0s (as indicated in Solaris17's link), or it was an image of a polar bear eating marshmellows in a snow storm, or a black bear eating blackberries in a deep cave on a moonless night, you might be able to compress it down that much. But even then, I doubt it. And if the file contained real data, I say no way. The fact is, most compression algorithms are unable to reduce a real data file even 50%, 33% if lucky.

What type of file are we talking about? If nothing but plain text, you can compress it quite a bit - especially if much of the text is repeated many times. But if there are any images - especially high resolution images - your luck begins to run out especially if you are looking to achieve lossless compression. But it should be noted that many files types are already highly compressed - like JPEG or MP4 media files.

Your best bet may be to break your original file down into smaller parts, then compress the parts. But understand you cannot then merge them into another compressed file that is even smaller.
 

Solaris17

Super Dainty Moderator
Staff member
Joined
Aug 16, 2005
Messages
25,892 (3.79/day)
Location
Alabama
System Name Rocinante
Processor I9 14900KS
Motherboard EVGA z690 Dark KINGPIN (modded BIOS)
Cooling EK-AIO Elite 360 D-RGB
Memory 64GB Gskill Trident Z5 DDR5 6000 @6400
Video Card(s) MSI SUPRIM Liquid X 4090
Storage 1x 500GB 980 Pro | 1x 1TB 980 Pro | 1x 8TB Corsair MP400
Display(s) Odyssey OLED G9 G95SC
Case Lian Li o11 Evo Dynamic White
Audio Device(s) Moondrop S8's on Schiit Hel 2e
Power Supply Bequiet! Power Pro 12 1500w
Mouse Lamzu Atlantis mini (White)
Keyboard Monsgeek M3 Lavender, Akko Crystal Blues
VR HMD Quest 3
Software Windows 11
Benchmark Scores I dont have time for that.
generally not, you can play with the compression algorithm, but compression ratio % is based off of the type of data being compressed.
I don't believe that is true in this scenario. 40,000,000/10,000,000,000 = 0.004 or .4%. It would be nearly impossible to compress anything that much. You are talking a compression ratio of over 99%! The example given in Solaris17's link is not realistic at all (a file with nothing but 0s).

Perhaps, maybe, if in some very rare and extreme circumstance your original file did contain 10GB of just 0s (as indicated in Solaris17's link), or it was an image of a polar bear eating marshmellows in a snow storm, or a black bear eating blackberries in a deep cave on a moonless night, you might be able to compress it down that much. But even then, I doubt it. And if the file contained real data, I say no way. The fact is, most compression algorithms are unable to reduce a real data file even 50%, 33% if lucky.

What type of file are we talking about? If nothing but plain text, you can compress it quite a bit - especially if much of the text is repeated many times. But if there are any images - especially high resolution images - your luck begins to run out especially if you are looking to achieve lossless compression. But it should be noted that many files types are already highly compressed - like JPEG or MP4 media files.

Your best bet may be to break your original file down into smaller parts, then compress the parts. But understand you cannot then merge them into another compressed file that is even smaller.

Please learn to read context bill, and maybe then not even context. My post was pretty clear already.
 
Joined
Jul 25, 2006
Messages
12,147 (1.87/day)
Location
Nebraska, USA
System Name Brightworks Systems BWS-6 E-IV
Processor Intel Core i5-6600 @ 3.9GHz
Motherboard Gigabyte GA-Z170-HD3 Rev 1.0
Cooling Quality case, 2 x Fractal Design 140mm fans, stock CPU HSF
Memory 32GB (4 x 8GB) DDR4 3000 Corsair Vengeance
Video Card(s) EVGA GEForce GTX 1050Ti 4Gb GDDR5
Storage Samsung 850 Pro 256GB SSD, Samsung 860 Evo 500GB SSD
Display(s) Samsung S24E650BW LED x 2
Case Fractal Design Define R4
Power Supply EVGA Supernova 550W G2 Gold
Mouse Logitech M190
Keyboard Microsoft Wireless Comfort 5050
Software W10 Pro 64-bit
Please learn to read context bill, and maybe then not even context. My post was pretty clear already.
Gee whiz. I already acknowledged correctly what your posts said. Please learn to read context yourself - including the OPs as well as mine. You are criticizing me for agreeing with you! :kookoo:
 
Joined
Mar 26, 2010
Messages
9,795 (1.90/day)
Location
Jakarta, Indonesia
System Name micropage7
Processor Intel Xeon X3470
Motherboard Gigabyte Technology Co. Ltd. P55A-UD3R (Socket 1156)
Cooling Enermax ETS-T40F
Memory Samsung 8.00GB Dual-Channel DDR3
Video Card(s) NVIDIA Quadro FX 1800
Storage V-GEN03AS18EU120GB, Seagate 2 x 1TB and Seagate 4TB
Display(s) Samsung 21 inch LCD Wide Screen
Case Icute Super 18
Audio Device(s) Auzentech X-Fi Forte
Power Supply Silverstone 600 Watt
Mouse Logitech G502
Keyboard Sades Excalibur + Taihao keycaps
Software Win 7 64-bit
Benchmark Scores Classified
What data some data could packaged in small size like text or office documents, but if apps or video, good luck with that
Highly compressed file could bring you higher risk of data corruption
Winrar? Although winrar well known for compressing file i guess that's not capable to do that, please ask NSA for the right app

and why not you create multiple RAR, split big document into several RAR
 
Joined
Mar 15, 2017
Messages
178 (0.07/day)
compression ratio % is based off of the type of data being compressed.

I can confirm. Story time: a few years ago our office PC was running laggy, so I poked around and found out the cause - turns out the access control software was constantly writing new data to some obscure log file that had grown to 1,56GB, if memory serves me right. Deleting the log fixed the issue, but I made a 7zip archive of the file before that, just in case it was needed some day. The archive was mere megabytes in size, almost certainly under 50MB.
 
Joined
Apr 21, 2010
Messages
5,731 (1.12/day)
Location
West Midlands. UK.
System Name Ryzen Reynolds
Processor Ryzen 1600 - 4.0Ghz 1.415v - SMT disabled
Motherboard mATX Asrock AB350m AM4
Cooling Raijintek Leto Pro
Memory Vulcan T-Force 16GB DDR4 3000 16.18.18 @3200Mhz 14.17.17
Video Card(s) Sapphire Nitro+ 4GB RX 580 - 1450/2000 BIOS mod 8-)
Storage Seagate B'cuda 1TB/Sandisk 128GB SSD
Display(s) Acer ED242QR 75hz Freesync
Case Corsair Carbide Series SPEC-01
Audio Device(s) Onboard
Power Supply Corsair VS 550w
Mouse Zalman ZM-M401R
Keyboard Razor Lycosa
Software Windows 10 x64
Benchmark Scores https://www.3dmark.com/spy/6220813
There are more advanced archiving tools than winrar/winzip that will use much higher compression standards and ratios though as pointed out above it depends on what the data is and generally speaking most common data types cannot be compressed by this much, some hardly any at all. It depends on the file type how much compression you can acheive though there is no silver bullet for this type of thing otherwise it would be common practice and we would all be doing it to store terabytes worth of data on a single 80GB drive. We're not.

Edit: I just had fun though :) I opened notepad and prceeded to continually write 0's into a blank doc, after a while I copied and continued pasting all the 0's I had done before to increase the number and speed and again and again did this until I got a "ran out of memory" error...... :clap: :laugh: then I saved the file, it was only 2GB but I opened up winrar and added to an archive aznd chose the best compression ratio and now I have 2GB worth of crap in a .txt file that is only 129KB :peace:

Edit 2: now the original file is too big to be opened by notepad :kookoo: :laugh: wordpad said hold my beer and is currently not responding whilst trying to open it we shall see :rockout:
 
Last edited:
Top