> > > >based on nadav's suggestion, i added getrusage() in the server as >well. here are the results: > >[mulix@alhambra tmp]$ echo "without memsets:" ; ./b memcpy; ./b send >without memsets: >memcpy'ed 1000 blocks of size 1048576. user time: 7.980000 secs, system time: >0.010000 secs >client sent 1000 blocks of size 1048576. user time: 0.010000 secs, system time: >5.070000 secs >server received 1048576000 bytes. user time: 0.020000 secs, system time: >6.750000 secs > >[mulix@alhambra tmp]$ echo "with memsets:" ; ./b memcpy; ./b send >with memsets: >memcpy'ed 1000 blocks of size 1048576. user time: 15.540000 secs, system time: >0.090000 secs >client sent 1000 blocks of size 1048576. user time: 7.400000 secs, system time: >9.560000 secs >server received 1048576000 bytes. user time: 0.040000 secs, system time: >7.670000 secs > >personally, i'm very curious why the memcpy case takes so much user >time. objdump to the rescue. > What version of kernel are you running ?
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]