Welcome Guest.   Make a donation to an author on the site November 24, 2014, 09:08:21 AM  *

Please login or register.
Or did you miss your validation email?


Login with username and password (forgot your password?)
Why not become a lifetime supporting member of the site with a one-time donation of any amount? Your donation entitles you to a ton of additional benefits, including access to exclusive discounts and downloads, the ability to enter monthly free software drawings, and a single non-expiring license key for all of our programs.


You must sign up here before you can post and access some areas of the site. Registration is totally free and confidential.
 
Learn about the DonationCoder.com microdonation system (DonationCredits).
   
   Forum Home   Thread Marks Chat! Downloads Search Login Register  
Pages: [1]   Go Down
  Reply  |  New Topic  |  Print  
Author Topic: program to create specified number of files of a specified size, but random data  (Read 2029 times)
gabeeg
Supporting Member
**
Posts: 2


View Profile Give some DonationCredits to this forum member
« on: January 21, 2010, 12:10:21 PM »

Hello,

   I am looking for a quick and dirty program with a easy UI, that I will do all of the following:

1.  Create a specified number of files.
2.  Create the files of a specified size (10kb, 6mb, 10gb, or whatever the user chooses).
3.  Create files of a certain type (text, numeric, and especially binary data to simulate program files).
4.  Contents of each file must be random (of the selected type).

We are doing some performance evaluations with a program that does de-duplication and compression....we need various sizes, numbers and types of random data to make sure we are not seeing performance skewed to the high side due to de-dupe or compression.   If we just had 1000 1GB text files all with the same text...de dupe and compression would make the app look ridiculously and unrealisticly fast smiley.   We have found apps and scripts that do one or two of the above, but nothing to do all four!

Thanks!

« Last Edit: January 21, 2010, 12:11:56 PM by gabeeg » Logged
mouser
First Author
Administrator
*****
Posts: 33,692



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #1 on: January 21, 2010, 12:16:07 PM »

Someone on DC recently created something that may meet your needs or come close enough that they would be willing to modify it:
http://www.donationcoder....m/index.php?topic=20979.0
Logged
gabeeg
Supporting Member
**
Posts: 2


View Profile Give some DonationCredits to this forum member
« Reply #2 on: January 21, 2010, 12:31:19 PM »

Yep, I looked at that one.   It is missing the random data types (looks to be limited to alpha-numeric) and the ability to randomize the data in the files created.
Logged
mouser
First Author
Administrator
*****
Posts: 33,692



see users location on a map View Profile WWW Read user's biography. Give some DonationCredits to this forum member
« Reply #3 on: January 21, 2010, 12:42:11 PM »

this is definitely something suitable for a coding snack, so let's see if anyone volunteers to create it.
Logged
Pages: [1]   Go Up
  Reply  |  New Topic  |  Print  
 
Jump to:  
   Forum Home   Thread Marks Chat! Downloads Search Login Register  

DonationCoder.com | About Us
DonationCoder.com Forum | Powered by SMF
[ Page time: 0.029s | Server load: 0.05 ]