[Ultramonkey-l7-users 116] PS3 で動きました

アーカイブの一覧に戻る

Shinya TAKEBAYASHI makot****@kanon*****
2008年 2月 29日 (金) 21:58:22 JST


竹林です.
お疲れ様です.


  お猿を PS3 で動かしてみました.
  CellBE(PPC64)環境でも,結果的には動いてしまいました.
  
  コンパイルについては,特別なことはしていません.
  vanessa_logger,vanessa_adt,l7vsd の各 tar 玉をダウンロードして
展開して configure(l7vsd は autogen64),make,make install です.
  
  性能を測りたいところではありますが,GbE の口が一つってのがイケてなくて
いまいちやる気になりません.


[root @ ps3 ~]# cat /etc/issue.net
Fedora Core release 6 (Zod)
Kernel \r on an \m

[root @ ps3 ~]# uname -a
Linux ps3 2.6.23-rc3 #1 SMP Fri Aug 17 11:39:09 JST 2007 ppc64 ppc64 ppc64 GNU/
Linux

[root @ ps3 ~]# cat /proc/cpuinfo
processor       : 0
cpu             : Cell Broadband Engine, altivec supported
clock           : 3192.000000MHz
revision        : 5.1 (pvr 0070 0501)

processor       : 1
cpu             : Cell Broadband Engine, altivec supported
clock           : 3192.000000MHz
revision        : 5.1 (pvr 0070 0501)

timebase        : 79800000
platform        : PS3

[root @ ps3 ~]# cat /proc/meminfo
MemTotal:       219340 kB
MemFree:         16356 kB
Buffers:          8504 kB
Cached:         164504 kB
SwapCached:          0 kB
Active:          54276 kB
Inactive:       127672 kB
SwapTotal:      522104 kB
SwapFree:       522104 kB
Dirty:              28 kB
Writeback:           0 kB
AnonPages:        8980 kB
Mapped:           8156 kB
Slab:            14884 kB
SReclaimable:     7192 kB
SUnreclaim:       7692 kB
PageTables:        876 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:    631772 kB
Committed_AS:    22208 kB
VmallocTotal: 8589934592 kB
VmallocUsed:       724 kB
VmallocChunk: 8589932924 kB


[root @ ps3 ~]# dmesg | head -36
Using PS3 machine description
Page orders: linear mapping = 24, virtual = 12, io = 12
Found initrd at 0xc0000000009a9000:0xc000000000b00000
Starting Linux PPC64 #1 SMP Fri Aug 17 11:39:09 JST 2007
-----------------------------------------------------
ppc64_pft_size                = 0x14
physicalMemorySize            = 0x8000000
ppc64_caches.dcache_line_size = 0x80
ppc64_caches.icache_line_size = 0x80
htab_address                  = 0x0000000000000000
htab_hash_mask                = 0x1fff
-----------------------------------------------------
Linux version 2.6.23-rc3 (root****@sandw*****) (gcc version 4.1.1 
20061011 (Red Hat 4.1.1-30)) #1 SMP Fri Aug 17 11:39:09 JST 2007
*** 0000 : CF000012

*** 0000 : Setup Arch
[boot]0012 Setup Arch
Entering add_active_range(0, 0, 32768) 0 entries of 256 used
PS3 firmware version 2.1.0
ps3fb videomemory: 18874368 bytes at c000000000b00000
ps3flash bounce buffer: 262144 bytes at c000000000780000
Top of RAM: 0x8000000, Total RAM: 0x8000000
Memory hole size: 0MB
Zone PFN ranges:
  DMA             0 ->    32768
  Normal      32768 ->    32768
Movable zone start PFN for each node
early_node_map[1] active PFN ranges
    0:        0 ->    32768
On node 0 totalpages: 32768
  DMA zone: 448 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 32320 pages, LIFO batch:7
  Normal zone: 0 pages used for memmap
  Movable zone: 0 pages used for memmap
*** 0000 : CF000015

[root @ ps3 ~]# l7vsd

[root @ ps3 ~]# l7vsadm -A -t 192.168.100.220:80 -m cinsert

[root @ ps3 ~]# l7vsadm -a -t 192.168.100.220:80 -m cinsert -r 192.168.0.11:80

[root @ ps3 ~]# l7vsadm -a -t 192.168.100.220:80 -m cinsert -r 192.168.0.10:80

[root @ ps3 ~]# l7vsadm -a -t 192.168.100.220:80 -m cinsert -r 192.168.0.12:80

[root @ ps3 ~]# l7vsadm
Layer-7 Virtual Server version 1.0.2
Prot LocalAddress:Port ProtoMod Scheduler
  -> RemoteAddress:Port           Forward Weight ActiveConn InactConn
TCP ps3.kanon-net.jp:http cinsert rr
  -> mishio.kanon-net.jp:http     Masq    1      0          0
  -> shiori.kanon-net.jp:http     Masq    1      0          0
  -> makoto.kanon-net.jp:http     Masq    1      0          0

[root @ ps3 ~]# l7vsadm
Layer-7 Virtual Server version 1.0.2
Prot LocalAddress:Port ProtoMod Scheduler
  -> RemoteAddress:Port           Forward Weight ActiveConn InactConn
TCP ps3.kanon-net.jp:http cinsert rr
  -> mishio.kanon-net.jp:http     Masq    1      0          13
  -> shiori.kanon-net.jp:http     Masq    1      0          13
  -> makoto.kanon-net.jp:http     Masq    1      0          13
  
----------------------------------------------------------------
Shinya TAKEBAYASHI

E-mail(Office) : takeb****@nttco*****
E-mail(private): makot****@kanon*****
GPG ID : FFD20D1F
GPG FP : 7B5B E0FC B785 7457 683C  47D6 5564 DDDD FFD2 0D1F
 CC FP : 7456 70EE 0A68 BC95 B1FC  F78F C6A9 3E0E F798 A218
----------------------------------------------------------------





Ultramonkey-l7-users メーリングリストの案内
アーカイブの一覧に戻る