Re: Needed faster implementation of do_gettimeofday()

2005-02-22 Thread George Anzinger
Puneet Kaushik wrote: Hello Parag and George, Thanks for immediate reply. The main problem is I am working on a SMP system. I have written a small program that just calls the gettimeofday(), one billion times. I have run it with time utility and it takes almost double time on SMP then a UP. with k

Re: Needed faster implementation of do_gettimeofday()

2005-02-22 Thread Chris Friesen
Puneet Kaushik wrote: Hello Parag and George, Thanks for immediate reply. The main problem is I am working on a SMP system. I have written a small program that just calls the gettimeofday(), one billion times. I have run it with time utility and it takes almost double time on SMP then a UP. If the

Re: Needed faster implementation of do_gettimeofday()

2005-02-22 Thread Puneet Kaushik
Hello Parag and George, Thanks for immediate reply. The main problem is I am working on a SMP system. I have written a small program that just calls the gettimeofday(), one billion times. I have run it with time utility and it takes almost double time on SMP then a UP. with kernel 2.6.10 on UP

Re: Needed faster implementation of do_gettimeofday()

2005-02-21 Thread George Anzinger
Parag Warudkar wrote: On Sunday 20 February 2005 05:58 am, [EMAIL PROTECTED] wrote: 9859138.6083 vmlinux mark_offset_tsc 5844735.1032 libc-2.3.2.sogetc What makes you think mark_offset_tsc is slow? Do you have any comparative numbers? It might just be that

Re: Needed faster implementation of do_gettimeofday()

2005-02-20 Thread Parag Warudkar
On Sunday 20 February 2005 05:58 am, [EMAIL PROTECTED] wrote: > 985913    8.6083  vmlinux                  mark_offset_tsc > 584473    5.1032  libc-2.3.2.so            getc What makes you think mark_offset_tsc is slow? Do you have any comparative numbers? It might just be that the workload you a