The paper studies the performance of an all-optical packet switch (OPS) for different packet length. The packet loss ratio, considered the OPS without FDL and with FDL buffer, with different length distribution are analyzed under the Poisson arrival process and a burst super exponential arrival process respectively. The experiment and analysis show that the performance of different length packet is influence by the packet arrival process and the buffer size. When the OPS without buffer, the PLR under bursty traffic yields the higher packet loss ratio (PLR). PLR with Poisson arrival packet is not influenced by the packet length distribution, while with the super exponential traffic, the packet length distribution influences the PLR, and the fixed length packet yields higher PLR compared to the variable length exponential packet and the experiential Internet traffic. When the OPS with buffer, PLR with Poisson arrival packet yields lower than with super exponential packet under the same load, and the experiential length super exponential packet leads to highest PLR, while the fixed length Poisson process packet brings on lowest PLR.