flagflag  
  
Cur: 2008-12-21 (Sun) 03:29:18 gambled source
Line 1: Line 1:
 +** Texture DB [#e21299dc]
 +-A ''Plain file'' or ''Berkeley DB'' can be used as a Texture DB as of  ''v1.0.0''.
 +-When [[sl_cache>sl_cache (E)]] is started with ''-fdb'' option, ''Berkeley DB'' is used. Default is ''Plain file''.
 +-Even with the default plain file specified the cache works fast enough.
 +-If you wish to use the Berkeley DB then you will also need to specify the ''--enable-db'' option when running ''configure'' prior to building  [[sl_proxy>sl_proxy (E)]] and TUIS_Lib.
 +** Plain File [#zc6445d9]
 +-A directory named '''cache'' ' is made as a work directory in [[Temp_File_Dir>/sl_proxy (E)/Temp_File_Dir]], and subdirectories named ''00'', ''01'', ......., ''fe'', and ''ff'' are made in this directory.~
 +-Further subdirectories named ''00'', ''01'', ......, ''fe'' and ''ff''  are then made in each of those subdirectories.
 +-These correspond to the first and second bytes respectively of the texture data ''GUID''. Texture data are sorted and saved in their corresponding (sub)subdirectories.
 +- Texture data are save with the file name ''GUID.#'' where # is a number.
 +-The number ''#'' is a serial number used for when the texture data is divided into multiple parts.  The part numbered 0 contains the header (Jpeg2000) of the file.
 +-The texture data is saved without change.
 +
 +Ex.)  ''/var/sl_proxy/cache/f8/f7/f8f7b3af-1f4​2-c2ec-0bbd-a3cf0751f837.0''
 +
 +** Berkeley DB [#v6833a33]
 +-A directory named '''cache'' ' is made as a working directory in  [[Temp_File_Dir>/sl_proxy (E)/Temp_File_Dir]], and subdirectories named ''00'', ''01'', ......., ''fe'', and ''ff'' are made in this directory.~
 +-Texture data are sorted by the first hexadecimal number (byte) of the texture data ''GUID''.  Texture data within these categories are then saved using ''Berkeley DB''. Therefore, only one ''Berkey DB'' file is made in each subdirectory named ''00'', ''01'', ....., ''fe'', and ''ff''.
 +-The file name used is ''sl_cache_XX.db'' where ''XX'' is the first byte of the ''GUID''.
 +-Texture data is saved without change.
 +
 +Ex.)  ''/var/sl_proxy/cache/f8/sl_cache_f8.db'​'
 +
 +** MySQL [#j0c3ff49]
 +-Not yet supported.
  

  • Backup diff of sl_cache (E)/Texture DB(No. All)
    • Cur: 2008-12-21 (Sun) 03:29:18 gambled

Front page   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
Today

Who's Online

74 user(s) are online (33 user(s) are browsing xpwiki)

Members: 0
Guests: 74

more...

Access Counter

Today : 9274927492749274
Yesterday : 1306913069130691306913069
Total : 2363407023634070236340702363407023634070236340702363407023634070
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com