[Python-talk] Profile results... Better pack?
bruce.labitt at autoliv.com
bruce.labitt at autoliv.com
Thu Oct 15 11:50:39 EDT 2009
Hmm, ~14.7 sec per FFT cycle - not so good.
Client side: (python/numpy)
2.75 sec creating random data, slower than I thought
7.00 sec packing data
1.7 sec sending data = very good > 700 Mibps
Server side: (C/C++/OpenMP)
1.72 sec unpack and move data to fft membuf
0.22 sec FFT !
0.36 sec data move so I can use OpenMP next step
0.23 sec mag square with OpenMP
0.08 sec FFTshift OpenMP
0.21 sec refilter, dBs, pack & send to client
I guess first order of business is to work on packing...
Is there a faster packer? I need to generate a string that is the
concatenation of:
1 16 bit number byte swapped + 1084200 doubles byte swapped
The byte swapping is to get into network order.
Can I use the module array?
Bruce Labitt
Autoliv Electronics
1011B Pawtucket Blvd, PO Box 1858
Lowell, MA 01853
Email: bruce.labitt at autoliv.com.
Tel: (978) 674-6526
Fax: (978) 674-6581
******************************
Neither the footer nor anything else in this E-mail is intended to or constitutes an <br>electronic signature and/or legally binding agreement in the absence of an <br>express statement or Autoliv policy and/or procedure to the contrary.<br>This E-mail and any attachments hereto are Autoliv property and may contain legally <br>privileged, confidential and/or proprietary information.<br>The recipient of this E-mail is prohibited from distributing, copying, forwarding or in any way <br>disseminating any material contained within this E-mail without prior written <br>permission from the author. If you receive this E-mail in error, please <br>immediately notify the author and delete this E-mail. Autoliv disclaims all <br>responsibility and liability for the consequences of any person who fails to <br>abide by the terms herein. <br>
******************************
More information about the Python-talk
mailing list