Click here to Skip to main content
15,893,588 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: String Parsing in C++ (Simple Question) Pin
PrafullaVedante7-Jul-09 20:25
PrafullaVedante7-Jul-09 20:25 
AnswerRe: String Parsing in C++ (Simple Question) Pin
chandu0047-Jul-09 20:26
chandu0047-Jul-09 20:26 
AnswerRe: String Parsing in C++ (Simple Question) Pin
CPallini7-Jul-09 21:17
mveCPallini7-Jul-09 21:17 
AnswerRe: String Parsing in C++ (Simple Question) Pin
Stuart Dootson7-Jul-09 21:31
professionalStuart Dootson7-Jul-09 21:31 
QuestionRe: String Parsing in C++ (Simple Question) Pin
David Crow8-Jul-09 2:51
David Crow8-Jul-09 2:51 
QuestionMaximum UDP transmit rate is just 50 MB/s and with 100% CPU usage!?? Pin
clayman877-Jul-09 12:20
clayman877-Jul-09 12:20 
QuestionRe: Maximum UDP transmit rate is just 50 MB/s and with 100% CPU usage!?? Pin
harold aptroot7-Jul-09 15:28
harold aptroot7-Jul-09 15:28 
AnswerRe: Maximum UDP transmit rate is just 50 MB/s and with 100% CPU usage!?? [modified] Pin
clayman877-Jul-09 15:53
clayman877-Jul-09 15:53 
Yes, I do, but I sent the program to some fearless friends without firewall, and they experienced similar results on Windows XP. Meanwhile, I tested the code on other OS-es as well.

So the measurements are for 1400 byte UDP daragrams:

- Windows XP SP 3 (w/ fw): 66 MB/s, 100% CPU-usage/core (mostly kernel)
- Windows 7 RC1 (no firewall): 11.5 MB/s, but only 20% CPU-usage/core, seems to take interface capacity into account (which is, after all, what I would expect in the first place)
- Ubuntu 8.10 on VMware with Tools: 120 MB/s, 100% CPU-usage/core (mostly kernel)

In contrast, I've been able to push data through a loopback TCP connection at 330 MB/s on WindowsXP/CLR, and nearly 500MB/s on Ubuntu.

modified on Tuesday, July 7, 2009 11:13 PM

AnswerRe: Maximum UDP transmit rate is just 50 MB/s and with 100% CPU usage!?? Pin
Adam Roderick J7-Jul-09 18:29
Adam Roderick J7-Jul-09 18:29 
GeneralRe: Maximum UDP transmit rate is just 50 MB/s and with 100% CPU usage!?? Pin
clayman877-Jul-09 18:48
clayman877-Jul-09 18:48 
GeneralRe: Maximum UDP transmit rate is just 50 MB/s and with 100% CPU usage!?? Pin
Adam Roderick J7-Jul-09 20:42
Adam Roderick J7-Jul-09 20:42 
GeneralRe: Maximum UDP transmit rate is just 50 MB/s and with 100% CPU usage!?? Pin
clayman877-Jul-09 21:27
clayman877-Jul-09 21:27 
AnswerRe: Maximum UDP transmit rate is just 50 MB/s and with 100% CPU usage!?? Pin
killabyte7-Jul-09 19:07
killabyte7-Jul-09 19:07 
GeneralRe: Maximum UDP transmit rate is just 50 MB/s and with 100% CPU usage!?? Pin
clayman877-Jul-09 19:50
clayman877-Jul-09 19:50 
AnswerRe: Maximum UDP transmit rate is just 50 MB/s and with 100% CPU usage!?? Pin
David Crow8-Jul-09 2:55
David Crow8-Jul-09 2:55 
GeneralRe: Maximum UDP transmit rate is just 50 MB/s and with 100% CPU usage!?? Pin
clayman878-Jul-09 4:24
clayman878-Jul-09 4:24 
AnswerRe: Maximum UDP transmit rate is just 50 MB/s and with 100% CPU usage!?? Pin
Moak4-Aug-09 1:15
Moak4-Aug-09 1:15 
GeneralRe: Maximum UDP transmit rate is just 50 MB/s and with 100% CPU usage!?? Pin
clayman874-Aug-09 2:27
clayman874-Aug-09 2:27 
GeneralRe: Maximum UDP transmit rate is just 50 MB/s and with 100% CPU usage!?? Pin
Moak4-Aug-09 5:29
Moak4-Aug-09 5:29 
GeneralRe: Maximum UDP transmit rate is just 50 MB/s and with 100% CPU usage!?? Pin
clayman874-Aug-09 5:37
clayman874-Aug-09 5:37 
GeneralRe: Maximum UDP transmit rate is just 50 MB/s and with 100% CPU usage!?? Pin
Moak4-Aug-09 5:46
Moak4-Aug-09 5:46 
GeneralRe: Maximum UDP transmit rate is just 50 MB/s and with 100% CPU usage!?? Pin
clayman874-Aug-09 6:09
clayman874-Aug-09 6:09 
AnswerRe: Maximum UDP transmit rate is just 50 MB/s and with 100% CPU usage!?? Pin
Jim_Pen24-Feb-10 1:10
Jim_Pen24-Feb-10 1:10 
QuestionI want to work on Progress bar.Can I have ur suggestion pls? Pin
kokilag7-Jul-09 7:51
kokilag7-Jul-09 7:51 
AnswerRe: I want to work on Progress bar.Can I have ur suggestion pls? Pin
David Crow7-Jul-09 8:11
David Crow7-Jul-09 8:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.