Compressing a 1Gb file into 4Mb file

dothackjhe

New member
Member
VIP
Local time
12:58 PM
Messages
258
I've seen this a couple of times before where a file that is around 1 Gb or so could be compressed in rar to around a few Mb. How is this possible?
 

My Computer My Computer

OS
Windows 7 Ultimate x64 (desktop) / x64 (laptop)
CPU
AMD Phenom 2 X3 720 2.8 GHz (desktop) / AMD Dual-Core E-350
Motherboard
ASRock N68-VS3 UCC / Acer Aspire 5253
Memory
4 Gb DDR3 / 4Gb DD3
Graphics Card(s)
Nvidia GeForce GTS 450 2048 Mb / AMD Radeon HD 6310
Sound Card
High Definition Audio Device
Monitor(s) Displays
ViewSonic
Screen Resolution
1024 x 768 / 1366 x 768
Hard Drives
313GB Seagate ST332041 8AS SCSI Disk Device (ATA) / 500 Gb HDD
PSU
Electron ATX-600W
Case
Some Case
Cooling
AMD built-in cooling fan
Keyboard
Logitech Keyboard
Mouse
A4tech Infrared Mouse / Philips Infrared Mouse
Internet Speed
1 Mbps
Other Info
Information of the PC's specs courtesy of Speccy freeware. Lol.
I've seen this a couple of times before where a file that is around 1 Gb or so could be compressed in rar to around a few Mb. How is this possible?

Not usually possible as far as I know. If it were we would be using that algorithm.
 

My Computer My Computer

Computer Manufacturer/Model Number
HP Pavillion dv-7 1005 Tx
OS
Win 8 Release candidate 8400
CPU
[email protected]
Memory
4 gigs
Graphics Card(s)
Nvidia 9600M
Sound Card
HD built-in
Monitor(s) Displays
17" Wxga
Screen Resolution
1440x900
Cooling
none
Internet Speed
45Mb down 5Mb up
It's rarely that I see this though. If I remember it right, I first saw this kind of event in a GameCube ISO. It was around 1 Gb or so and was compressed to a few Mb only. And the same thing occurred when I downloaded an ISO of a PS2 DVD (CodeBreaker v10) when in fact I downloaded it as a few Mb only.
 

My Computer My Computer

OS
Windows 7 Ultimate x64 (desktop) / x64 (laptop)
CPU
AMD Phenom 2 X3 720 2.8 GHz (desktop) / AMD Dual-Core E-350
Motherboard
ASRock N68-VS3 UCC / Acer Aspire 5253
Memory
4 Gb DDR3 / 4Gb DD3
Graphics Card(s)
Nvidia GeForce GTS 450 2048 Mb / AMD Radeon HD 6310
Sound Card
High Definition Audio Device
Monitor(s) Displays
ViewSonic
Screen Resolution
1024 x 768 / 1366 x 768
Hard Drives
313GB Seagate ST332041 8AS SCSI Disk Device (ATA) / 500 Gb HDD
PSU
Electron ATX-600W
Case
Some Case
Cooling
AMD built-in cooling fan
Keyboard
Logitech Keyboard
Mouse
A4tech Infrared Mouse / Philips Infrared Mouse
Internet Speed
1 Mbps
Other Info
Information of the PC's specs courtesy of Speccy freeware. Lol.
Well, if a file is comprised of a series of repeatable recognizable patterns, you could get tons of compression. For example, a file that is all 0's...from start to finish, is easy to zip to almost nothing as all that has to happen is that everything is replaced with 0's when extracted.
 

My Computer My Computer

Computer Manufacturer/Model Number
Self-Built in July 2009
OS
Windows 7 Ultimate x64
CPU
Intel Q9550 2.83Ghz OC'd to 3.40Ghz
Motherboard
Gigabyte GA-EP45-UD3R rev. 1.1, F12 BIOS
Memory
8GB G.Skill PI DDR2-800, 4-4-4-12 timings
Graphics Card(s)
EVGA 1280MB Nvidia GeForce GTX570
Sound Card
Realtek ALC899A 8 channel onboard audio
Monitor(s) Displays
23" Acer x233H
Screen Resolution
1920x1080
Hard Drives
Intel X25-M 80GB Gen 2 SSD
Western Digital 1TB Caviar Black, 32MB cache. WD1001FALS
PSU
Corsair 620HX modular
Case
Antec P182
Cooling
stock
Keyboard
ABS M1 Mechanical
Mouse
Logitech G9 Laser Mouse
Internet Speed
15/2 cable modem
Other Info
Windows and Linux enthusiast. Logitech G35 Headset.
Now I'm getting the idea. Admittedly I do not know how the algorithm works with this compression stuff aside from the fact that the files are being "compressed" to preserve the integrity of the files and save some disk space.
 

My Computer My Computer

OS
Windows 7 Ultimate x64 (desktop) / x64 (laptop)
CPU
AMD Phenom 2 X3 720 2.8 GHz (desktop) / AMD Dual-Core E-350
Motherboard
ASRock N68-VS3 UCC / Acer Aspire 5253
Memory
4 Gb DDR3 / 4Gb DD3
Graphics Card(s)
Nvidia GeForce GTS 450 2048 Mb / AMD Radeon HD 6310
Sound Card
High Definition Audio Device
Monitor(s) Displays
ViewSonic
Screen Resolution
1024 x 768 / 1366 x 768
Hard Drives
313GB Seagate ST332041 8AS SCSI Disk Device (ATA) / 500 Gb HDD
PSU
Electron ATX-600W
Case
Some Case
Cooling
AMD built-in cooling fan
Keyboard
Logitech Keyboard
Mouse
A4tech Infrared Mouse / Philips Infrared Mouse
Internet Speed
1 Mbps
Other Info
Information of the PC's specs courtesy of Speccy freeware. Lol.
Think of compression like a long driving trip. In places you might make a lot of turns, requiring a lot of directions like "turn left here, go two blocks, then turn right. Hard to compress. The example pparks1 gave would be like hitting the highway and only needing to know to stay on the road for the next 600 miles.

The first part might require a lot of data to get you just a few miles; the last part is one simple instruction for the next 600 miles. :)
 

My Computer My Computer

Computer Manufacturer/Model Number
Self
OS
Main - Windows 7 Pro SP1 64-Bit; 2nd - Windows Server 2008 R2
CPU
Main - Core i7 2600K; 2nd - Core i7 920
Motherboard
Main - Asus P8Z68-V Pro/Gen3; 2nd - Gigabyte GA-EX58-UDR3
Memory
Main - 16GB Corsair Vengeance; 2nd - 12GB Corsair Vengeance
Graphics Card(s)
Main - XFX Radeon 6870 1GB; 2nd - XFX Radeon 4870 1GB
Sound Card
Both: Onboard Realtek Azalia
Monitor(s) Displays
Main - Hann 25" + I-INC 25" + Acer 23"; 2nd - Upgrading Soon
Screen Resolution
Main - 1920x1080 (All Three Monitors); 2nd - Upgrading Soon
Hard Drives
Main - (1) Crucial M4 128GB (Boot)
Main - (1) Seagate 2TB 64MB Cache (Data)
Main - (1) Seagate 2TB 64MB Cache (Data Backup)
2nd - (1) Intel X25-M SSD 80GB (Boot)
2nd - (3) Seagate 1TB 32MB Cache (Data Backup)
2nd - (1) Seagate 320GB (Because)
PSU
Main - OCZ 600W Modular; 2nd - OCZ 600W
Case
Main - Thermaltake Element G; 2nd - NZXT something or other
Cooling
Main - Corsair H80; 2nd - Prolimatech Megahalems
Keyboard
Main - Razer Reclusa; 2nd - Old MS Keyboard
Mouse
Main - Logitech MX Revolution; 2nd - Old MS Mouse
Internet Speed
20Mbps Time-Warner Cable
Thanks, great info. :D
 

My Computer My Computer

OS
Windows 7 Ultimate x64 (desktop) / x64 (laptop)
CPU
AMD Phenom 2 X3 720 2.8 GHz (desktop) / AMD Dual-Core E-350
Motherboard
ASRock N68-VS3 UCC / Acer Aspire 5253
Memory
4 Gb DDR3 / 4Gb DD3
Graphics Card(s)
Nvidia GeForce GTS 450 2048 Mb / AMD Radeon HD 6310
Sound Card
High Definition Audio Device
Monitor(s) Displays
ViewSonic
Screen Resolution
1024 x 768 / 1366 x 768
Hard Drives
313GB Seagate ST332041 8AS SCSI Disk Device (ATA) / 500 Gb HDD
PSU
Electron ATX-600W
Case
Some Case
Cooling
AMD built-in cooling fan
Keyboard
Logitech Keyboard
Mouse
A4tech Infrared Mouse / Philips Infrared Mouse
Internet Speed
1 Mbps
Other Info
Information of the PC's specs courtesy of Speccy freeware. Lol.
Think of compression like a long driving trip. In places you might make a lot of turns, requiring a lot of directions like "turn left here, go two blocks, then turn right. Hard to compress. The example pparks1 gave would be like hitting the highway and only needing to know to stay on the road for the next 600 miles.

The first part might require a lot of data to get you just a few miles; the last part is one simple instruction for the next 600 miles. :)

I don't think there is an easier example for this kind of explanation :roflmao: epic!
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Home Premium x64
CPU
Intel Core i5 2500K
Motherboard
MSI MS-7750
Memory
8GB DDR3
Graphics Card(s)
nVidia GeForce GTX650 Ti BOOST
Sound Card
Realtek
Monitor(s) Displays
21' Philips
Screen Resolution
Full HD
Hard Drives
1TB
PSU
500W
With WinRAR or 7Zip you can make a set of 4MB files.
 

My Computer My Computer

OS
Windows 7 Ultimate x64,Windows 7 Professional x64, Windows 7 Enterprise x64
Another option is one not many people seem to think of, and that's UHARC. I've never found anything that compresses files so well.

WinUHA Website
 

My Computer My Computer

Computer Manufacturer/Model Number
HP 6000 Pro Micro Tower
OS
W7 Professional x64
CPU
Core 2 Duo 2.93
Memory
2 GB
Graphics Card(s)
ATI Radeon 4695
Monitor(s) Displays
Two HP 17's
Hard Drives
150GB Sata Drive
Case
Tiny. Kinda cute.
Keyboard
HP Supplied. Surprisingly nice.
Mouse
Gateway Mouse from an E2610D
Internet Speed
45 mbps
Another option is one not many people seem to think of, and that's UHARC. I've never found anything that compresses files so well.

WinUHA Website

Oh, I didn't know about this. Thanks for the info, this one looks interesting enough. :)
 

My Computer My Computer

OS
Windows 7 Ultimate x64 (desktop) / x64 (laptop)
CPU
AMD Phenom 2 X3 720 2.8 GHz (desktop) / AMD Dual-Core E-350
Motherboard
ASRock N68-VS3 UCC / Acer Aspire 5253
Memory
4 Gb DDR3 / 4Gb DD3
Graphics Card(s)
Nvidia GeForce GTS 450 2048 Mb / AMD Radeon HD 6310
Sound Card
High Definition Audio Device
Monitor(s) Displays
ViewSonic
Screen Resolution
1024 x 768 / 1366 x 768
Hard Drives
313GB Seagate ST332041 8AS SCSI Disk Device (ATA) / 500 Gb HDD
PSU
Electron ATX-600W
Case
Some Case
Cooling
AMD built-in cooling fan
Keyboard
Logitech Keyboard
Mouse
A4tech Infrared Mouse / Philips Infrared Mouse
Internet Speed
1 Mbps
Other Info
Information of the PC's specs courtesy of Speccy freeware. Lol.
I wouldnt think it is possible for that level of compression, usually i get around 30-50% compression on a good day!
 

My Computer My Computer

OS
Windows 7 Home Premium (64bit)
CPU
AMD Phenom II X4 965e @ 4000MHz
Motherboard
Gigabyte GA-870A-UD3
Memory
4096MB DDR3-SDRAM
Graphics Card(s)
Nvidia GTX 560 Ti
Sound Card
N/A
Monitor(s) Displays
1x 32" LCD, 1x 24" LED, 1x 19" LED
Screen Resolution
1920*1080
Hard Drives
1x 1TB system drive
2x 2TB storage drive
PSU
850w modular
Case
NZXT Phantom Red
Cooling
Liquid Cooling
Internet Speed
5.0Mb
It is possible. But just like the people on this thread said, it will depend on the ISO itself whether it can be compressed to that extent or not.
 

My Computer My Computer

OS
Windows 7 Ultimate x64 (desktop) / x64 (laptop)
CPU
AMD Phenom 2 X3 720 2.8 GHz (desktop) / AMD Dual-Core E-350
Motherboard
ASRock N68-VS3 UCC / Acer Aspire 5253
Memory
4 Gb DDR3 / 4Gb DD3
Graphics Card(s)
Nvidia GeForce GTS 450 2048 Mb / AMD Radeon HD 6310
Sound Card
High Definition Audio Device
Monitor(s) Displays
ViewSonic
Screen Resolution
1024 x 768 / 1366 x 768
Hard Drives
313GB Seagate ST332041 8AS SCSI Disk Device (ATA) / 500 Gb HDD
PSU
Electron ATX-600W
Case
Some Case
Cooling
AMD built-in cooling fan
Keyboard
Logitech Keyboard
Mouse
A4tech Infrared Mouse / Philips Infrared Mouse
Internet Speed
1 Mbps
Other Info
Information of the PC's specs courtesy of Speccy freeware. Lol.

My Computer My Computer

OS
Windows 7 Ultimate x64 (desktop) / x64 (laptop)
CPU
AMD Phenom 2 X3 720 2.8 GHz (desktop) / AMD Dual-Core E-350
Motherboard
ASRock N68-VS3 UCC / Acer Aspire 5253
Memory
4 Gb DDR3 / 4Gb DD3
Graphics Card(s)
Nvidia GeForce GTS 450 2048 Mb / AMD Radeon HD 6310
Sound Card
High Definition Audio Device
Monitor(s) Displays
ViewSonic
Screen Resolution
1024 x 768 / 1366 x 768
Hard Drives
313GB Seagate ST332041 8AS SCSI Disk Device (ATA) / 500 Gb HDD
PSU
Electron ATX-600W
Case
Some Case
Cooling
AMD built-in cooling fan
Keyboard
Logitech Keyboard
Mouse
A4tech Infrared Mouse / Philips Infrared Mouse
Internet Speed
1 Mbps
Other Info
Information of the PC's specs courtesy of Speccy freeware. Lol.

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Home Premium x64
CPU
Intel Core i5 2500K
Motherboard
MSI MS-7750
Memory
8GB DDR3
Graphics Card(s)
nVidia GeForce GTX650 Ti BOOST
Sound Card
Realtek
Monitor(s) Displays
21' Philips
Screen Resolution
Full HD
Hard Drives
1TB
PSU
500W

My Computer My Computer

OS
Windows 7 Ultimate x64 (desktop) / x64 (laptop)
CPU
AMD Phenom 2 X3 720 2.8 GHz (desktop) / AMD Dual-Core E-350
Motherboard
ASRock N68-VS3 UCC / Acer Aspire 5253
Memory
4 Gb DDR3 / 4Gb DD3
Graphics Card(s)
Nvidia GeForce GTS 450 2048 Mb / AMD Radeon HD 6310
Sound Card
High Definition Audio Device
Monitor(s) Displays
ViewSonic
Screen Resolution
1024 x 768 / 1366 x 768
Hard Drives
313GB Seagate ST332041 8AS SCSI Disk Device (ATA) / 500 Gb HDD
PSU
Electron ATX-600W
Case
Some Case
Cooling
AMD built-in cooling fan
Keyboard
Logitech Keyboard
Mouse
A4tech Infrared Mouse / Philips Infrared Mouse
Internet Speed
1 Mbps
Other Info
Information of the PC's specs courtesy of Speccy freeware. Lol.
I've seen this a couple of times before where a file that is around 1 Gb or so could be compressed in rar to around a few Mb. How is this possible?

If the file is a GB worth of zeros then I can compress it into a few bytes without even resorting to binary. How about "1GBx0.txt" where the text is "1GBx0" ??

Try compressing a BluRay 2 hour movie onto CD and you'll get the idea. :)
Some data sets compress more easily than others.
 

My Computer My Computer

Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
The example I tend to use when explaining the concept is to use a digital camera shooting jpeg files.

Take a photograph of a white wall or other plain image and compare file sizes with other complex images from the same camera
 

My Computers My Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    ChillBlast - Custom to my design
    OS
    Windows 11 Pro x64 [Latest Release and Release Preview]
    CPU
    Ryzen 9 5950X, 3.8 - 5.2 MHz
    Motherboard
    Asus Prime X570-Pro
    Memory
    64GB [2 x 32GB] DDR4 3200MHz
    Graphics Card(s)
    4GB NVIDIA GEFORCE GTX 1650 Ti
    Sound Card
    On-board SPDIF to 5.1 System + HDMI [5.1 system]
    Monitor(s) Displays
    32" UHD 32 Bit HDR Monitor + 43" UHD 4K 32Bit HDR TV
    Screen Resolution
    2 x 3840 x 2160 @60Hz
    Hard Drives
    1TB M2 SSD OS, 500GB Fast Access SSD, 2 x 8TB Data + Various Externals from 1TB to 4TB, 10TB NAS
    PSU
    NZXT C750 80 PLUS Gold 750W Modular PSU
    Case
    Workstation Case [Matt Black]
    Cooling
    NZXT Kraken X63 280mm CPU Cooler +2x Quiet Case fans
    Keyboard
    Logitech Wireless MX Keys & K400 + others
    Mouse
    Logitech Wireless MX Master 3S
    Internet Speed
    920 MB Down 50 MB Up
    Antivirus
    BitDefender Total Security Pro
    Browser
    Chrome (always run latest Non-Beta)
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    Samsung 10.2" tablet
    Blackview TAB 8 4G Android Tablet c/w Keyboard
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control
  • Computer type
    Laptop
    System Manufacturer/Model Number
    Dell XPS 17 10750H
    OS
    Windows 11 Pro x64 Latest RP
    CPU
    Intel I7 10750H 5.0GHz
    Motherboard
    Dell XPS
    Memory
    32GB [2x16GB] DDR4 2933 MHz
    Graphics Card(s)
    nVidia GTX1650Ti 4 GB GDDR6
    Sound Card
    Stock [Realtek] 4 Speaker
    Monitor(s) Displays
    17" IPS UHD+ Infinity Edge Touchscreen
    Screen Resolution
    3840 x 2400
    Hard Drives
    2TB M2 NVMe, 4TB External + various 500GB & 1TB External NVMe (also have access to spinner HDD from
    PSU
    Stock
    Case
    Stock XPS Aluminium & Carbon Fibre
    Cooling
    Stock - Active Fan Control
    Keyboard
    Backlit + Various Logitech
    Mouse
    Stock Track Pad + Logitech MX Trackball
    Internet Speed
    72 MB Down 18MB Up
    Browser
    Chrome
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    10.2" tablet
    Sony Z3 Android Smartphone
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control Pad
    10TB NAS
Use 7zip. It compress files perfectly in 7z format. It can compress a 1 GB file to 800 MB. For me 7zip is better than WinZip:D
 

My Computer My Computer

Computer Manufacturer/Model Number
Lenovo Ideapad Y550 (4186)
OS
Windows 7 Ultimate x64 SP1 / Ubuntu 12.04.3 x64
CPU
Intel Core 2 Duo 2.20 Ghz
Motherboard
LENOVO KIWB1 (U2E1)
Memory
4.0GB Dual-Channel DDR3 @ 398MHz
Graphics Card(s)
NVIDIA GeForce GT 240M 1GB
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
15 inch (1366x768@60Hz)
Screen Resolution
1366*768
Hard Drives
320GB Hitachi HITACHI HTS545032B9A300 (SATA)
Keyboard
Build In
Mouse
Touchpad
Internet Speed
30 KBps (Dial up)
Back
Top