Click here to Skip to main content
16,005,181 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Installation and the registry Pin
The ANZAC24-Aug-07 16:46
The ANZAC24-Aug-07 16:46 
QuestionWrting your name in a picture box Pin
steve_rm24-Aug-07 12:42
steve_rm24-Aug-07 12:42 
AnswerRe: Wrting your name in a picture box Pin
Christian Graus24-Aug-07 17:22
protectorChristian Graus24-Aug-07 17:22 
QuestionVB.NET Question Pin
Tom Wright24-Aug-07 9:39
Tom Wright24-Aug-07 9:39 
AnswerRe: VB.NET Question Pin
Christian Graus24-Aug-07 12:00
protectorChristian Graus24-Aug-07 12:00 
AnswerRe: VB.NET Question Pin
Colin Angus Mackay24-Aug-07 13:37
Colin Angus Mackay24-Aug-07 13:37 
GeneralRe: VB.NET Question Pin
Paul Conrad25-Aug-07 10:26
professionalPaul Conrad25-Aug-07 10:26 
Questionmonitor.wait/pulse CPUusage Pin
RJGCarey24-Aug-07 8:13
RJGCarey24-Aug-07 8:13 
I have a Visual Basic application that processes stock market data. It receives UDP packets from a satellite disc receiver and decodes the highly compressed data, creates and saves to file millions of 20 byte "ticks", builds one minute bar charting data, and then screens each tick for certain patterns. Since it is looking at 7800 stocks and processes about 85 million ticks a day, it is a very busy application. It runs on a home built computer with an ASUS motherboard, an AMD Athlon 64x2 Dual Core Processor 4400+, 2.00 GB RAM, and WINXP Pro.
When I converted it from VB.6 to VB.Net 2003 I chose to use thread.suspend/resume code to synchronize the many threads. I was surprized and pleased to see that at the heaviest data load periods that Task Manager showed it using only 12% CPU capacity.
When I converted it to VB.Net 2005 I discovered that thread.suspend/resume code had been depreciated.
I chose to replace it with monitor.wait/pulse code.
I was surprized and disappointed to see that Task Manager now shows it using 86% CPU capacity at peak periods.
Is it possible that Task Manager runs differently in .Net Framework 1.1 and 2.0 and was showing me erroneous info in 1.1?
Does monitor.wait/pulse code use alot more CPU cycles?
Does anyone know about CPU overhead of the several other thread synchronizatiion methods?
Thanks
RCarey





RCarey

AnswerRe: monitor.wait/pulse CPUusage Pin
Besir Kasami24-Aug-07 12:41
Besir Kasami24-Aug-07 12:41 
QuestionDataGridView Issue - row change causes data change Pin
Marcus J. Smith24-Aug-07 7:31
professionalMarcus J. Smith24-Aug-07 7:31 
AnswerRe: DataGridView Issue - row change causes data change Pin
i gr824-Aug-07 19:17
i gr824-Aug-07 19:17 
QuestionHELP? NON RIESCO PIU' A COMPILARE Pin
Roberto Monza24-Aug-07 6:43
Roberto Monza24-Aug-07 6:43 
AnswerRe: HELP? NON RIESCO PIU' A COMPILARE Pin
Dave Kreskowiak24-Aug-07 7:01
mveDave Kreskowiak24-Aug-07 7:01 
GeneralVB2005 WPF Compilation problems Pin
Roberto Monza24-Aug-07 7:13
Roberto Monza24-Aug-07 7:13 
GeneralRe: VB2005 WPF Compilation problems Pin
kubben24-Aug-07 7:42
kubben24-Aug-07 7:42 
AnswerRe: HELP? NON RIESCO PIU' A COMPILARE Pin
Paul Conrad25-Aug-07 10:27
professionalPaul Conrad25-Aug-07 10:27 
QuestionWhat is wrong with my loop - VB.net Pin
Smokeywade24-Aug-07 3:56
Smokeywade24-Aug-07 3:56 
AnswerRe: What is wrong with my loop - VB.net Pin
Colin Angus Mackay24-Aug-07 5:02
Colin Angus Mackay24-Aug-07 5:02 
GeneralRe: What is wrong with my loop - VB.net Pin
Smokeywade24-Aug-07 7:16
Smokeywade24-Aug-07 7:16 
GeneralRe: What is wrong with my loop - VB.net Pin
Ian Shlasko24-Aug-07 7:27
Ian Shlasko24-Aug-07 7:27 
GeneralRe: What is wrong with my loop - VB.net Pin
Smokeywade24-Aug-07 8:48
Smokeywade24-Aug-07 8:48 
QuestionUpdate data acces layer Pin
jesusnaun24-Aug-07 3:50
jesusnaun24-Aug-07 3:50 
AnswerRe: Update data acces layer Pin
Colin Angus Mackay24-Aug-07 5:10
Colin Angus Mackay24-Aug-07 5:10 
GeneralRe: Update data acces layer Pin
jesusnaun24-Aug-07 7:08
jesusnaun24-Aug-07 7:08 
GeneralRe: Update data acces layer Pin
Mark Churchill26-Aug-07 4:53
Mark Churchill26-Aug-07 4:53 

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.