Re: [Ocf-linux-users] OCF performance in IXP425 and openswan 2.4.11
                
                Brought to you by:
                
                    david-m
                    
                
            
            
        
        
        
    | 
      
      
      From: Killerx G <kil...@ya...> - 2008-06-02 04:37:47
      
     | 
| 
>What speed is your IXP platform ?
I am using IXP425 running at 425MHz
> We get somewhere between 35-40Mbps out of an accelerated IXP using openswan. 
That's great.
> It sounds like you do not have OCF enabled for openswan at all ?
> 3Mbps is very slow,
When I enable debug (i.e. insmod ixp4xx ixp_deug=1), after insmod ipsec.o,
I got following log:
klips_info:ipsec_init: KLIPS startup, Openswan KLIPS IPsec stack version: 2.4.11
klips_info:ipsec_alg_init: KLIPS alg v=0.8.1-0 (EALG_MAX=255, AALG_MAX=251)
klips_info:ipsec_alg_init: calling ipsec_alg_static_init()
ipsec_aes_init(alg_type=15 alg_id=12 name=aes): ret=0
klips_debug: experimental ipsec_alg_AES_MAC not registered [Ok] (auth_id=0)
ipsec_3des_init(alg_type=15 alg_id=3 name=3des): ret=0
ixp_newsession():alg 6
ixp_freesession()
ixp_newsession():alg 7
ixp_freesession()
ixp_newsession():alg 11
ixp_freesession()
ixp_newsession():alg 2
ixp_freesession()
ixp_newsession():alg 1
ixp_freesession()
ixp_newsession():alg 6
ixp_freesession()
ixp_newsession():alg 7
ixp_freesession()
During throughput test, I got many logs like:
ixp_q_process(c2a90080)
ixp_process()
ixp_q_process(c2a901c0)
ixp_perform_cb(-1023479488, c2a900a0, 00000000, 0x0)
ixp_perform_cb(-1023479488, c2a901e0, 00000000, 0x0)
....
The max. throughput I can get is 1.5Mbit/sec  (without ipsec, it is > 90Mbit/sec).
Anything I am missing?
Kil
       |