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

kgb archiver decompression time.

Discussion in 'General Hardware' started by madhav, Jun 18, 2013.

  1. madhav New Member

    Joined:
    Jun 13, 2013
    Messages:
    14 (0.03/day)
    Thanks Received:
    0
    hey... i found while decompressing a file of 64kb(originally 640mb) that it requires 16 hours to decompress... i have 2gb ram installed on my processor "genuine inter(R) CPU T2300@1.66GHz 1.67GHz". is it usually take such a long time?
     
  2. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    13,787 (6.26/day)
    Thanks Received:
    3,671
    Location:
    IA, USA
    Unless there's no data in that 640 MB, there's no way it could compress to 64 KB. My guess is that the 64 KB file is corrupt and can't be inflated. It is stuck in an infinite loop.

    Assuming the file is fine, an extra 2 GiB of RAM wouldn't hurt. If it is using virtual memory to decompress it, it will be extremely slow.
     
    Aquinus says thanks.
    Crunching for Team TPU
  3. madhav New Member

    Joined:
    Jun 13, 2013
    Messages:
    14 (0.03/day)
    Thanks Received:
    0
    it is a kgb file. so i think it maybe fine.

    btw how to check whether it is using virtual memory or not
     
  4. Aquinus

    Aquinus Resident Wat-man

    Joined:
    Jan 28, 2012
    Messages:
    6,462 (6.46/day)
    Thanks Received:
    2,188
    Location:
    Concord, NH
    This. Nothing can change the nature of compression, so unless you're mostly compressing the same data (repetitive zeros or ones,) you're not going to even compress that much data into a file that small. It's computationally impossible unless the conditions are just right, which I doubt they would have been if the file was 640MB big and was something other than an empty disk image.

    I don't see how the file type makes a difference. I don't think you're right here.
     
  5. natr0n

    natr0n

    Joined:
    Jan 29, 2012
    Messages:
    1,961 (1.96/day)
    Thanks Received:
    1,011
    Winrar and its modern friends says hello.
     
    Aquinus says thanks.
  6. Aquinus

    Aquinus Resident Wat-man

    Joined:
    Jan 28, 2012
    Messages:
    6,462 (6.46/day)
    Thanks Received:
    2,188
    Location:
    Concord, NH
    Yes! I highly recommend using 7zip. It supports most widely used compression formats such as zip and rar as well as it's own 7z format which can use LZMA2. At work I do weekly backups and I compress almost 900GB to ~450GB using 7z and LZMA2. I highly recommend it, but it can be pretty heavy on the CPU and memory.

    Go get 7Zip here!
     
  7. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    13,787 (6.26/day)
    Thanks Received:
    3,671
    Location:
    IA, USA
    That's only 50% compression ratio. PAQ frequently gets less than 33%.
     
    Crunching for Team TPU
  8. Aquinus

    Aquinus Resident Wat-man

    Joined:
    Jan 28, 2012
    Messages:
    6,462 (6.46/day)
    Thanks Received:
    2,188
    Location:
    Concord, NH
    That depends on the files being compressed. That's also not maximum compression because it would take too long to compress... until I upgrade that server from one 2Ghz quad to dual 3Ghz quads. :cool:
     
  9. madhav New Member

    Joined:
    Jun 13, 2013
    Messages:
    14 (0.03/day)
    Thanks Received:
    0
  10. cheesy999

    Joined:
    Jul 2, 2010
    Messages:
    3,919 (2.49/day)
    Thanks Received:
    581
    Location:
    UK
    FordGT90Concept says thanks.
  11. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    13,787 (6.26/day)
    Thanks Received:
    3,671
    Location:
    IA, USA
    Just give Rockstar your money and buy it from Amazon or Steam for cheap. The GTA games (GTA1 and 2 are free to download) are worth the money.
     
    Crunching for Team TPU

Currently Active Users Viewing This Thread: 1 (0 members and 1 guest)

Share This Page