Join the 80,000 other DTN customers who enjoy the fastest, most reliable data available. There is no better value than DTN!

(Move your cursor to this area to pause scrolling)




"There is no doubt that IQFeed is the best data provider. I am very satisfied with your services. And IQFeed is the only one that I would recommend to my friends. Now, most of them are using your product in China." - Comment from Zhezhe
"I've been using IQFeed 4 in a multi-threaded situation for the last week or two on 2600 symbols or so with 100 simultaneous daily charts, and I have had 100% responsiveness." - Comment from Scott
"I'm satisfied with IQFeed. It's the most reliable and fastest quote feed I have ever used. Although I'm a resident in China, it's still very fast!" - Comment from Xiaofei
"Everything is working great ! Very impressive client. The news refreshes better and is more pertinent than the ******* feed I paid $ 100/month for. I Also like the charts a lot." - Comment from Leon
"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
"Interactive Brokers tick data was inconsistent, so I have switched to using DTN exclusively. It is great to no longer have to worry about my datafeed all day long." - Comment from Philippe
"I have to tell you though that using the IQFeed API is about the easiest and cleanest I have seen for some time." - Comment from Jim
"If someone needs the best quality data and backfill beyond what their broker provides at a rate that is the best in the industry, I highly recommend IQFeed." - Comment from Josh via Public Forum
"I am a hedge fund manager here. It’s funny, I have a Bloomberg terminal and a Bridge feed, but I still like having my DTN feed!" - Comment from Feras
"I've been using Neoticker RT with IQFeed for two months, and I'm very happy with both of the products (I've had IQFeed for two years with very few complaints). The service from both companies is exceptional." - Comment from Public Forum
Home  Search  Register  Login  Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTNMarkets on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »IQFeed Developer »IQFeed Developer Support »IQfeed goes into a state where it gobbles up 90% of CPU time, but only if there is >15 symbols ...
Author Topic: IQfeed goes into a state where it gobbles up 90% of CPU time, but only if there is >15 symbols ... (3 messages, Page 1 of 1)

smt52
-Interested User-
Posts: 31
Joined: Feb 23, 2009


Posted: Jul 30, 2010 03:20 PM          Msg. 1 of 3
We would like some advice on how to fix an issue with IQfeed which results in it crashing one or twice per day. By "crash", I mean that it starts to gobble up 90% of CPU time (up from 10%), which means that nothing else has any CPU time to do anything.

Setup:

1. Amazon EC2.
2. 1.7GB of RAM.
3. 1 EC2 compute unit (equivalent to a 1.0-1.2 GHz 2007 Opteron).
4. Operating system is Windows Server 2008.

How to reproduce the problem:
1. Subscribe to 20 symbols.
2. CPU usage is consistently ~10% or less.
3. Wait until there is lots of market activity (i.e. 4:15pm).
4. At some point during the day, under higher load, the IQfeed driver goes from 10% CPU usage to 90% CPU usage. This problem occurs 1 to 2 times per day.
5. As the IQfeed driver has effectively crashed, the rest of the system has no CPU time to do anything, so the entire system grinds to a halt.

Hypothesis:
1. Perhaps the buffers are filling up internally - how can we check to see if this is happening, to guard against this happening?

DTN_LorenF
-DTN Technical Support-
Posts: 228
Joined: May 11, 2004


Posted: Jul 30, 2010 03:38 PM          Msg. 2 of 3
smt52
it does sound like resource issues
Here is what is recommend for hardware now on the systems for:

(Recommended Computer Requirements)
Windows 2000/XP Home/XP PRO/Vista
(Win95, Win98, WinME, WinNT are not supported)


Pentium Processor
The faster the better. If watching 50 active symbols (such as eminis) we recommend a minimum of 3.0ghz processor. We recommend a dual core processor if watching more than 300 symbols. 1000+ symbols will require a top of the Line PC with a dual-quad core processor with 2+MB Cache.)


1GB Ram


High Speed Internet
(500Kps min.)

DTN Brian Wood
-Interested User-
Posts: 17
Joined: Jun 2, 2004


Posted: Jul 30, 2010 03:48 PM          Msg. 3 of 3
What symbols are you trying to watch?

It could be that you are not keeping up with the feed. Frequently we see people not processing the data fast enough so it backs up and they see delays and find that the CPU usage has gone high. IQFeed will queue up the incoming data until you run out of memory. Look at IQFeed running in task manager and see if you see it’s memory increasing, if so, it means that you are not processing the incoming data quickly enough and it is beginning to back up. Remember the feed depending on what is happening in the market may surge 5 times or more during some sort of announcement. The flow of data is not constant and you may experience sudden surges in the amount of data received.

The hardware you are running is also very low end now days, so improving your hardware might also help your preformance.

Visit our new online forums! DTN employees actively monitor the forums to provide you the highest level of support in the industry. Our forums also has an announcements area where you can learn about new features or changes within DTN. You can even use the forums to exchange trading ideas or tips and tricks on how you use your DTN data to be more profitable.

Go to http://forums.dtniq.com now to start sharing information with fellow DTN subscribers!
 

 

Time: Thu May 26, 2022 12:32 PM CFBB v1.2.0 31 ms.
© AderSoftware 2002-2003