flagflag  If you want to see English page, please click "English" Button at Left.
Page Top

Outline anchor.png

  • Attention The texture data is downloaded by HTTP(S) since SL Viewer 2.1.1. Therefore, when Viewer since SL Viewer 2.1.1 is used, sl_cache seems to be useless.
  • sl_cache is a UDP Texture Cache Server for sl_relay running on Linux.
  • By our measurements, the texture data accounts for about max 80% of all UDP data, though it depends on the SIM's status.
  • Cache data is saved in a plain file or Berkeley DB file. (It works fast enough even with a plain file)
  • sl_cache doesn't rewrite the sequence number of UDP packets. It only saves data taking it out of the data stream.
  • sl_cache is part of sl_proxy.
  • Current version is 1.1.0 (28 Step. '11)
     
Page Top

Outline of Functions anchor.png

  1. Texture data caching is enabled through sl_relay.
Page Top

Annoyances or Bugs. anchor.png

  1. Cache data is saved in a plain file or a Berkeley DB file. SQL database is not supported.
  2. The speed slows in Berkeley DB. Plain file is more high-speed now.
  3. The program has not been stress tested.
Page Top

Configuration anchor.png

  • The default configuration file is /usr/local/etc/sl_proxy/sl_cache.conf.
  • It is also possible to specify other files if -f option of sl_cache is specified.
  • Because the configuration file is read before sl_cache does the switch to the effective user, exec user should be able to be read.
  • The setting of each item is described in the configuration file. Empty lines or lines starting with # are not read.
     
Page Top

Items anchor.png

Page Top
Ports for communication with Relay Server anchor.png
Page Top
Number of transfer packets anchor.png
Page Top
Access Control anchor.png
Page Top
Etc. etc. anchor.png
Page Top

Execute Options anchor.png

sl_cache  [-p port_no] [-f config_file] [-u user_name] [-i interface_address]
          [-pid pid_file] [-l [hitrate_logfile]] [-v syslog_level]
          [-xpr [expire_days]] [-lx [expire_logfile]]
          [-fdb] [-d]
          [--version] [--help] [-h]
       
-p   : port number that Relay Server(sl_relay) connects. default is 8200.
-f   : configuration file. default is /usr/local/etc/sl_proxy/sl_cahe.conf
-u   : specify effective user.
-i   : specify sl_relay side network interface IP address.
       if your server has two or more network interfaces, you need to use this option.
       
-pid : specify pid file.
-l   : create hit rate log file. default file name is /var/sl_proxy/sl_cache_hitrate.log
-v   : level of syslog. default is LOG_INFO (7).
       
-xpr : execute the cache expire daemon. 
       The expire time can be continuously specified by day unit. default is the 30days.
       the expire demon retrieves at random and deletes data without the access during 
       the specified days.
-lx  : create cache expire log file. default file name is /var/sl_proxy/sl_expire_cache.log
       
-fdb : Berkeley DB is used for the data base. default is plane file.
       
-d   : debug mode. display debug information.
       
--version  : display Version information.
--help, -h : display this Help messages.
Page Top

Processes anchor.png

Page Top

Data Caching anchor.png

  • There is a two step data save process so that a single process can control the actually data save, thus avoiding file locking problems.

www.nsl.tuis.ac.jp_xpwiki, SIZE:720x540(23.8KB)

  • [Save Data Process] is Cache Put Server
  • [Get Cache Process] is Cache Control Process

トップ   凍結 差分 バックアップ 複製 名前変更 リロード   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom
Counter: 5015, today: 1, yesterday: 0
最終更新: 2011-09-28 (水) 11:29:54 (JST) (4566d) by admin

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 3月翌月
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
<今日>

オンライン状況

91 人のユーザが現在オンラインです。 (10 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 91

もっと...

アクセスカウンタ

今日 : 7434743474347434
昨日 : 6869686968696869
総計 : 2318171723181717231817172318171723181717231817172318171723181717
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com