ww wrote: > Suppose I want to copy a file that is 20mb. Is there an algorithim to > determine an adequte CREATE-FILE size? I created a file as follows; > CREATE-FILE WSW 1 101 and when I copy the 20mb file it takes for ever! > > Thanks in advance, > Did you think to read the manual? CREATE-FILE, jstat, jrf?
http://www.jbase.com/knowledgebase/manuals/3.0/30manpages/man/FILE1.htm You don;t say what OS or file type, so we must assume that the group size is 4096, minus some for overhead, call it 4000 bytes. You don't say what the record sizes are so nothing to go on there, just 20mb, but I assume you means 20MB 20MB/4000B = 20971520 / 4000 = 5242 So, you need to create at modulo say 5701 (not 101), copy, then use jrf to get a bit closer to ideal. However, if you only have 20 items at 1MB each, then that is totally different, so I have to assume you just have 'normal' size items. Jim --~--~---------~--~----~------------~-------~--~----~ Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24 To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en -~----------~----~----~----~------~----~------~--~---
