![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
because object code resides in the dict of the program file, I am also in the habit of making my dictionary equivalent to the size of the data section, when creating "BP" files (CREATE-FILE MY.BP 101 101). I thought the hashing scheme just helps you find the __start__ of an |
#3
| |||
| |||
|
|
Is this theory consistent across other MV products? |
#4
| |||
| |||
|
|
Is this theory consistent across other MV products? |
#5
| |||
| |||
|
|
Many moons ago, from a source I cannot remember, I heard that sizing (MOD) of the dictionary for Basic Program files can possibly effect efficiency of the system. * Since most files do not require large dictionaries, I am in the habit of creating a file with dict mod =1 (e.g. CREATE-FILE MYFILE 1 29). * However, because object code resides in the dict of the program file, I am also in the habit of making my dictionary equivalent to the size of the data section, when creating "BP" files (CREATE-FILE MY.BP 101 101). I have asked REALITY tech support for their opinion, and they confirm that (at least for their product) that theory is correct, giving the dict more room to "efficiently" store the object code, with fewer chances of becoming fragmented, thus possibly causing corruption of code. Is this theory consistent across other MV products? Jim Cronin Kittery Trading Post |
#6
| |||
| |||
|
|
Many moons ago, from a source I cannot remember, I heard that sizing (MOD) of the dictionary for Basic Program files can possibly effect efficiency of the system. * Since most files do not require large dictionaries, I am in the habit of creating a file with dict mod =1 (e.g. CREATE-FILE MYFILE 1 29). * However, because object code resides in the dict of the program file, I am also in the habit of making my dictionary equivalent to the size of the data section, when creating "BP" files (CREATE-FILE MY.BP 101 101). I have asked REALITY tech support for their opinion, and they confirm that (at least for their product) that theory is correct, giving the dict more room to "efficiently" store the object code, with fewer chances of becoming fragmented, thus possibly causing corruption of code. Is this theory consistent across other MV products? Jim Cronin Kittery Trading Post |
#7
| |||
| |||
|
|
According to Reality folks, and I quote: "The Dictionary (just another data section of the file) can become heavily fragmented and inefficient if it is not sized correctly". Further, I noticed that, following a backup/restore, all dicts of program files are resized to "fit the need". Thus, a 1-mod dict on a "BP" file coming from D3 was resized to over 100 on Reality, due to the number of programs in that file. Thanks for all of the responses. |
#8
| |||
| |||
|
|
...Is there a problem with a mod of 100 for a dict? |
#9
| |||
| |||
|
|
On 8/15/11 12:23 PM, Tony Gravagno wrote: ...Is there a problem with a mod of 100 for a dict? Same problem as modulo 100 for a data file: [Conventional wisdom says] modulo should be a prime number. Might be interesting to see how the record IDs hash into that modulo 100 file. -- frosty |
#10
| |||
| |||
|
|
Now, after having witnessed how sizing of a dict for a program file can help in system-efficiency, I wonder to myself if perhaps the "mod 1" from the D3 program files had anything to do with the "corrupt flashed memory" problems that persisted (leading to my exit from the list of D3 clients), un-repaired, in my waning months as a RD/TL client. Could it be that I was experiencing difficulties, having not only compiled object, but flashed-compiled object, stored in a mod of 1, for large numbers of programs? Is it possible that the objects were, in fact, too fragmented, as a result of the small space allocated for the dict? The file I referenced, above (1325 items in a BP file) was only one of many, many such-sized dictionaries of program files; files that were extremely active on a day-to-day basis. I guess I'll just have to consider that a "rhetorical" question - one that I will never know the answer to. Jim Cronin Kittery Trading Post |
![]() |
| Thread Tools | |
| Display Modes | |
| |