Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Computing > Windows 64bit > Something strange going on with Windows X64 Pro and Nvidia Network Controller.

Reply
Thread Tools

Something strange going on with Windows X64 Pro and Nvidia Network Controller.

 
 
Skybuck Flying
Guest
Posts: n/a
 
      10-16-2007
Hello,

When trying to send udp packets with a random payload size between 0 and
65000 windows only sends little packets ?

The udp packets are not fragmented properly... at least according to
ethereal...

Could be a windows x64 stack bug, an ethereal/winpcap bug or maybe it's my
program at fault.

Really weird.

Windows x64 Pro also the most crashy operating system so far, haven't tried
vista yet though... only in virtual pc and even that was bad he !

Bye,
Skybuck


 
Reply With Quote
 
 
 
 
Skybuck Flying
Guest
Posts: n/a
 
      10-16-2007
Hello,

Tested the following:

Random UDP Sizes 0 to 65000.

Rapid packets after each other.

Windows XP x64 and Windows XP 32 bit.

Program seems to work normally.

Sender and receiver more or less report the same size as well as ethereal.

It seems windows does not allow sending many random udp sizes right after
each other ?

Or could it be some kind of strange threading bug ?

Very strange.

When sending fixed size large udp packets ip fragmentation does work and
large udp packets get through.

But random udp sizes not ??????? Very very very very very strange ?!

(Only little packets arrive huh ?)

Bye,
Skybuck.


 
Reply With Quote
 
 
 
 
robertwessel2@yahoo.com
Guest
Posts: n/a
 
      10-16-2007
On Oct 16, 9:16 am, "Skybuck Flying" <s...@hotmail.com> wrote:
> Hello,
>
> Tested the following:
>
> Random UDP Sizes 0 to 65000.
>
> Rapid packets after each other.
>
> Windows XP x64 and Windows XP 32 bit.
>
> Program seems to work normally.
>
> Sender and receiver more or less report the same size as well as ethereal.
>
> It seems windows does not allow sending many random udp sizes right after
> each other ?
>
> Or could it be some kind of strange threading bug ?
>
> Very strange.
>
> When sending fixed size large udp packets ip fragmentation does work and
> large udp packets get through.
>
> But random udp sizes not ??????? Very very very very very strange ?!
>
> (Only little packets arrive huh ?)



No such issues exist, although you may be running out of buffers on
either or both sides. The default behavior of basically all TCP/IP
stacks is to discard UDP packets when out of space.

The default buffer allocated by Windows to a UDP socket is 8K (which
is smaller than on many system), which would correspond to five 1400
bytes packets plus a bit. Try increasing it with setsockopt()/
SO_RCVBUF.


 
Reply With Quote
 
Skybuck Flying
Guest
Posts: n/a
 
      10-17-2007
Yeah I dug up my old c/cpp code for winsock and converted it to winsock 2.

Sending random udp sizes there does not create any bugs.

So it must be some kind of weird bug in my delphi application which uses
threads and dynamically loads the library.

Driving me nuts.

But I am gonna find it hopefully

Bye,
Skybuck


 
Reply With Quote
 
Skybuck Flying
Guest
Posts: n/a
 
      10-17-2007
Ok,

It seems to be some kind of timing bug.

Could be overflow or maybe it's a bug in QueryPerformanceCounter.

For now I'll assume it's a bug in my timing code.

Still how a timing bug leads to little packets confuses me ?

It seems impossible.

Maybe it's an operating system bug after all, not sure though

Very strange.

More investigation will need to be done

Bye,
Skybuck.


 
Reply With Quote
 
Skybuck Flying
Guest
Posts: n/a
 
      10-17-2007
Oh, now I understand !

It's an algorithm bug !

Kinda funny.

The data size is randomized.

And the speed limit is checked to see if bytes are available.

If not then a new data size is randomized.

So big data sizes never make it... because the thread runs so fast... the
bucket didn't have time to get full for a larger packet.

So that's why only smaller packets get through..

Hehe !

So algorithm has to change a little bit.

Initialize a random data size or so... keep trying to reserve the bytes from
the speed limit, when it's allowed to send... try to send it... and then it
doesn't matter if it was sent or not... because it passed the speed limit...
so then it's ok to initialize a new random data size.

This prevents illegal data size from holding things up as well... since a
new one would be generated

Bye,
Skybuck.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DebugView help not working on Windows XP X64 Pro and Windows 7 x64 (?) Skybuck Flying Windows 64bit 4 08-11-2009 09:41 PM
BF2Demo + Punkbuster + X-Fi Elite Pro still manage to crash Windows XP x64 Pro Edition Skybuck Flying Windows 64bit 2 02-04-2008 02:56 PM
NVIDIA Drivers 93.71 for Windows XP Professional x64 Aaron Kelley Windows 64bit 1 11-02-2006 10:44 PM
Windows XP Pro X64, Office 2003 pro and Vision 2003 =?Utf-8?B?RGFuZSB3aXRoIG5vIERhbmlzaA==?= Windows 64bit 4 11-20-2005 08:09 PM
NVIDIA Forceware 77.79 for Windows x64 dr.nil Windows 64bit 1 08-19-2005 05:33 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57