Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^3: system "gzip $full_name" is taking more time

by fishmonger (Chaplain)
on Dec 07, 2013 at 16:09 UTC ( #1066134=note: print w/replies, xml ) Need Help??

in reply to Re^2: system "gzip $full_name" is taking more time
in thread system "gzip $full_name" is taking more time

There are other similar modules to choose from and I'm sure at least one of them would be able to replace the original file. I have not looked over the related modules in any detail, so I can't say which one would be better suited for your needs.

What do you think would be a reasonable amount of time to compress an averaged size file from one of the directories from the command line? Would you say that a tenth of a second would be reasonable? Multiple that time by 90,000 and that will give you a very rough estimate of the required time per directory. Assuming a tenth of a second average, you'd be looking at more than 2 hours per directory and that's not including the overhead of executing the system function/call.

Having an average of 90,000 files per dir seems to be a major factor in the overall problem. Can you rework your policies to work on 30 day intervals rather than 90 day intervals?

  • Comment on Re^3: system "gzip $full_name" is taking more time

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1066134]
Eily went to the wiktionary to check that the pronunciations of prawn and prone are actually similar. Turns out prawn can be an alternative form of porn...
[Discipulus]: well i'm still at the end of the food chain..
[Discipulus]: so a new life as krill in prague will be good
[erix]: wtf -- what's the idea, is this trolling, advertising, or what?
[Discipulus]: but realisticly choroba your company would a hire a programmer as me?
Discipulus spent ~3 hours on the roof.. with mediocre results..

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2017-06-29 12:50 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (663 votes). Check out past polls.