Web Hosting Info

Search:

featured partner

The IP to Country Database

  Forum Topics : Development / Weird Silence releases *fast* tools
Submitted by Daath on Wed, 05/05/2004 - 09:31.
Weird Silence has released som very, very fast tools, that uses this CSV file.
There are implementations in PHP, Python, C#, C and a PHP module.
With pure C we achieve over 1,1 million lookups per second on a P4 2GHz 512MB RAM :)

Go check it out!
Comment viewing options:
Select your preferred way to display the comments and click 'Save settings' to submit your changes.
It is FAST??????? My simpl
Posted by ethanak on Thu, 05/06/2004 - 18:30.
It is FAST???????

My simple C program (published some days ago just here) has WORST speed about 5.8 microsecond per request (about 170,000 requests per second)...

But my machine is Celeron 300!

ethanak
 
Try the benchmark
Posted by Daath on Thu, 05/06/2004 - 18:37.
Try downloading the C implementation and run ip2c_bench and see what kind of speeds you get from it, I'm curious :)

-
Any technology distinguishable from magic, is insufficiently advanced.
 
Sorry, but weirdsilence.net n
Posted by ethanak on Thu, 05/06/2004 - 18:50.
Sorry, but weirdsilence.net nameservers are probably down :( I'll try tomorrow

ethanak
PS. would you send me this program to ethanak <at> polip <dot> com ?
 
Ns down?!
Posted by Daath on Thu, 05/06/2004 - 19:00.
Hmmm that sounds weird, I use speednames' NS and I haven't touched the weirdsilence.net records in a while...
Hmm maybe a glitch ;) Anyway, I've mailed it to you!
Looking forward to hearing the results! :)

-
Any technology distinguishable from magic, is insufficiently advanced.
Updated!
Posted by Daath on Sun, 05/09/2004 - 13:44.
The C version and the php module have been updated.
The C version now yields > 3 million lookups per second on my P4 2GHz :)
Thanks to ethanak for inspiration :) Some times it's faster to code something yourself than use the standard stuff :)

-
Any technology distinguishable from magic, is insufficiently advanced.
 
Hmm a few different threads t
Posted by nef- on Thu, 05/13/2004 - 22:33.
hmm a few different threads talking about look ups per second. i tried it out to see what i would get so ill post it here incase it helps you all out.


C:\ip2c-winexe-0.9.2>ip2c_bench.exe
IP 2 Country lookup benchmark (c) 2004 L. Petersen, Weird Silence
Benchmarking with 18328 unique IPs, repeated 100 times.
Finished benchmarking, runtime was 0.390000 seconds.
That is 4699487 lookups/second.

4.6mil per second

system is AMD 2500(1.8ghz) overclocked to a 3200(2.2ghz)