![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Will it hurt our system to resize ABS and the FILE-OF-FILES? Will it help? According to ISTAT, my ABS has a size of 13 and should be 1277. It has 6,919 records with a total size of 1,938,433. Thanks, Danny |
#3
| |||
| |||
|
|
Will it hurt our system to resize ABS and the FILE-OF-FILES? Will it help? According to ISTAT, my ABS has a size of 13 and should be 1277. It has 6,919 records with a total size of 1,938,433. Thanks, Danny |
#4
| |||
| |||
|
|
Will it hurt our system to resize ABS and the FILE-OF-FILES? Will it help? According to ISTAT, my ABS has a size of 13 and should be 1277. It has 6,919 records with a total size of 1,938,433. Thanks, Danny |
#5
| |||
| |||
|
|
Hi I believe that there is a considerable grey area in as to what is a correct file size. If one considers that all items larger than 1600bytes ( I cannot remember the exact figure but it is very low) are actually stored as a pointer in the actual file with the true data off in uncontrollable overflow |
|
then ISTAT et al return incorrect estimates for programs and other large items. Personally I have always sized program files very small say 19 19 to store 1000+ programs with no problems. My reasoning being that this minimises the storage requirement and maximises the speed of retrieval. The dictionary portion should of course be identical to the data portion in the program situation as each contains one entry for each item, ie object and source. I am talking D3 NT FSI of course. |

|
"ddspell-m3" wrote Will it hurt our system to resize ABS and the FILE-OF-FILES? Will it help? According to ISTAT, my ABS has a size of 13 and should be 1277. It has 6,919 records with a total size of 1,938,433. Thanks, Danny |
#6
| |||
| |||
|
|
Resizing files only makes sense if you use those files often. FOF gets updated at odd times, IMHO, but not real often. Abs is almost never written into, and only occasionally read. So I believe the answers to your questions are: No, it won't hurt; and no, it probably won't make any noticible difference. Mark Brown Also, IIRC, you have to chagne the size of the file of files using the debuger, becuase it's a "system level" file, not usually accessible to the common (wo)man, but it CAN be resized. FSI:FOF is a different animal and should probably best be left alone. "ddspell-m3" wrote Will it hurt our system to resize ABS and the FILE-OF-FILES? Will it help? According to ISTAT, my ABS has a size of 13 and should be 1277. It has 6,919 records with a total size of 1,938,433. Thanks, Danny |
#7
| |||
| |||
|
|
We've just discussed this recently - one of the things that artificially inflates the size of the FOF is a record that's kept every time a file is cleared or recreated. Yes, I've seen app. code that SELECTs then DELETEs the |
|
4) Don't really care about this stuff anymore. |
#8
| |||
| |||
|
|
I agree with Mark (no surprise there, eh?). The FOF isn't worth resizing. However!!! It does gather statistics surprisingly often on file opens, reads, writes, and other geeky statistics. So if your FOF is seriously undersized, call RD and ask them about resizing it - the answer will be dependent on your release. We've just discussed this recently - one of the things that artificially inflates the size of the FOF is a record that's kept every time the file is cleared or recreated. You can delete the fof data to eliminate all of this history, that will surely make it smaller. The next file-save will regenerate all stats. So, to clear the FOF, you can't clear-file, or delete/create, just: select fof delete fof and select fsidm,FileOfFiles, delete fsidm,FileOfFiles, Addenda: 1) The documentation for the FSI FOF is wrong and I don't think clear/delete data is actually stored in there. 2) Clearing the FOF files periodically is good if you do a lot of create/deleting of work files, which is the only reason why I bothered to mention this stuff above. 3) You can use nt_makefof to rebuild the fof file(s?) if you don't want to do a save. 4) Don't really care about this stuff anymore. T "Mark Brown" wrote: Resizing files only makes sense if you use those files often. FOF gets updated at odd times, IMHO, but not real often. Abs is almost never written into, and only occasionally read. So I believe the answers to your questions are: No, it won't hurt; and no, it probably won't make any noticible difference. Mark Brown Also, IIRC, you have to chagne the size of the file of files using the debuger, becuase it's a "system level" file, not usually accessible to the common (wo)man, but it CAN be resized. FSI:FOF is a different animal and should probably best be left alone. "ddspell-m3" wrote Will it hurt our system to resize ABS and the FILE-OF-FILES? Will it help? According to ISTAT, my ABS has a size of 13 and should be 1277. It has 6,919 records with a total size of 1,938,433. Thanks, Danny |
#9
| |||
| |||
|
|
then ISTAT et al return incorrect estimates for programs and other large items. Personally I have always sized program files very small say 19 19 to store 1000+ programs with no problems. My reasoning being that this minimises the storage requirement and maximises the speed of retrieval. The dictionary portion should of course be identical to the data portion in the program situation as each contains one entry for each item, ie object and source. I am talking D3 NT FSI of course. Sorry Peter, but that logic doesn't necessarily follow. All BASIC object items are pointer items (regardless of size). The dict file is only a container for items that are about 50 bytes in size. When you compile code, the pointer gets created in the main dict space, but the object code itself immediately goes into overflow. This is the way all of these systems work. |
#10
| |||
| |||
|
|
"Tony Gravagno" wrote We've just discussed this recently - one of the things that artificially inflates the size of the FOF is a record that's kept every time a file is cleared or recreated. Yes, I've seen app. code that SELECTs then DELETEs the items of a workfile just to avoid this. It's sad that one cannot curtail this limitless obscure logging. |
|
4) Don't really care about this stuff anymore. But you should! The unlimited integer-part precision makes d3 a tool for math research. Basic is a great language for simple chores, versus C, a great language for writing myriads of bugs in one small program. It is much easier to read and train others in Basic than Perl, my next choice for doing windoze file admin tasks. Accuterm has the ability to float a .gif file amidst the screen text, and like Xterm, shares the vector graphics drawing mode seen in the old 'Tank' video arcade game. If you've already got an office full of terms/ winboxes on a lan, why not program in Scrabble and that new word game Quiddler for after-hours parties? There are command line apps for the windoze world that will trigger a flatbed scanner, and d3/nt can launch noninteractive command line apps, so... |
|
One day I hope to find a win-based email client that lets d3 weed out my at-work Inbox spam better than OE manages... |
![]() |
| Thread Tools | |
| Display Modes | |
| |