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)




"I noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"As a past ******* customer(and not a happy one), IQ Feed by DTN is a much better and cheaper product with great customer support. I have had no problems at all since switching over." - Comment from Public Forum
"I started a trial a few weeks back before the market went wild. DTN.IQ didn’t miss anything and beat my other provider. I decided to stay with you because of the great service through all the volatility." - Comment from Mike
"The service is great, I see a noticeable improvement in my volume profiles over [broker]'s data feed" - Comment from Larry
"I am very happy I changed. I love the product, but more so I am thrilled with Tech Support. You are knowledgeable, polite, pleasant and professional." - Comment from Pat
"I will tell others who want to go into trading that DTN ProphetX is an invaluable tool, I don't think anyone can trade without it..." - Comment from Luther
"Just a thank you for the very helpful and prompt assistance and services. You provided me with noticeably superior service in my setup compared to a couple of other options I had looked at." - Comment from John
"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
"If you want customer service that answers the phone, your best bet is IQFeed. I cannot stop praising them or their technical support. They are always there for you, and they are quick. I have used ****** too but the best value is IQFeed." - 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 »Archive (2017 and earlier) »IQFeed Developer Support »Can I activate two IQFeed clients on the same computer ?
Author Topic: Can I activate two IQFeed clients on the same computer ? (9 messages, Page 1 of 1)

amitbarkan
-Interested User-
Posts: 5
Joined: Sep 19, 2005


Posted: May 1, 2007 11:56 PM          Msg. 1 of 9
Hello,
I want to run 2 IQFeed clients on the same machine with the same Product name.

Is that possible ? If so how ?

Thank you,

Amit

JDonovan
-Interested User-
Posts: 24
Joined: Feb 11, 2007


Posted: May 2, 2007 07:28 AM          Msg. 2 of 9
Yes. Launch two of them.

- Jeff

DTN_Jay_Froscheiser
-VP, Product Operations-
Posts: 1746
Joined: May 3, 2004

DTN IQFeed/DTN.IQ/DTN NxCore


Posted: May 2, 2007 07:34 AM          Msg. 3 of 9
You can't run 2 instances of the IQFeed Client on the same machine (there should be no reason you would want/need to do this since IQFeed is a multithreaded application). You can run multiple instances of your application or 3rd party applications connecting to IQFeed at the same time however.

Jay Froscheiser
DTN - Trading Markets

dhakme
-DTN Evangelist-
Posts: 150
Joined: Sep 17, 2004


Posted: May 8, 2007 01:38 PM          Msg. 4 of 9
Jay,
Is IQFeed really multithreaded? What do you mean by this?

One of my machines has two CPUs (dual 3GHz Xeon) and at the moment the IQFeed client process has been given a higher priority and is often at 50% CPU ie. it has 1 CPU dedicated to it. Overall, the machine is sitting at 70% CPU at this time. When this happens I start getting corrupt data from IQFeed and I can see the data download being clipped. My interpretation of this is that the IQFeed client is running on just one CPU and that this CPU isn't fast enough to cope with the number of symbols I'm watching (1150), hence my interest in running more than one IQFeed client on the same machine. My only choices otherwise is to reduce the number of symbols or upgrade the machine.

DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005


Posted: May 8, 2007 03:27 PM          Msg. 5 of 9
IQfeed is multithreaded in the following way:

All level 1 data sockets are processed in a single thread.
Each Lookup socket is processed in it's own thread.

So, If you open up 1 Level 1 socket and 1 lookup socket, you will have 2 threads running.
If you open up 2 level 1 sockets and 1 lookup socket, you will still have 2 threads running.
If you open up 2 level 1 sockets and 2 lookup sockets, you will have 3 threads running.

As for your concerns with the CPU usage of IQConnect, I am fairly certain that there is something besides CPU limitations causing the problems you are experiencing. I will do some testing tomorrow while the market open to verify, but a 3Ghz Xeon processor should be plenty of CPU to handle 1300+ symbols.

dhakme
-DTN Evangelist-
Posts: 150
Joined: Sep 17, 2004


Posted: May 8, 2007 10:02 PM          Msg. 6 of 9
Steve,

We are watching the top 1300 NYSE stocks (by activity). We recently reduced that to 1150 stocks to reduce CPU usage. The NYSE has become far more active in the last year as they have become more automated. We have seen the data almost double in the last year for the same symbol list.
The IQFeed process will often sit at 40% (ie 80% of 1 CPU) at the start of the day, but then spikes up to 100%. When it's at 100% cpu, bandwidth is a very flat 730kbps. If we use 'normal' priority for the process it sits at ~600kbps. The server is in a Tier 1 data center so bandwidth availability is not an issue.
FYI, our app runs a separate thread to clear the IQConnect queue as fast as possible. We know we can process a full day's data from a file (around 8GB) in about 30mins on 1 CPU so we don't think we are the bottleneck.

monkeydaytrader
-Interested User-
Posts: 1
Joined: Mar 15, 2008


Posted: Mar 15, 2008 03:09 AM          Msg. 7 of 9
Just curious if there ever was a resolution to this? Are you now able to watch more than 1300 stocks? And what ultimately was the bottleneck?

I also intend to watch as many stocks as possible and am trying to gauge if it is possible.

Thanks.

DTN_Jay_Froscheiser
-VP, Product Operations-
Posts: 1746
Joined: May 3, 2004

DTN IQFeed/DTN.IQ/DTN NxCore


Posted: Mar 15, 2008 10:22 AM          Msg. 8 of 9
We have a decent number of customers watching 1800 symbols (the max available with IQFeed). However, it will take a VERY powerful machine and you may still struggle if you are watching the most active 1800 symbols. If you need to watch more, or want a product that is more efficient and sending and processing larger numbers of symbols, I would recommend looking at our NxCore product. Starting at $500 per month (price includes the API), you receive a full broadcast of the entire exchange's data. There is no symbol limit with NxCore. For information and/or trial, please email prosales@dtn.com or visit http://www.nxcore.com.

Jay Froscheiser
DTN - Trading Markets

AMA
-DTN Evangelist-
Posts: 183
Joined: Aug 1, 2007


Posted: Mar 17, 2009 09:18 PM          Msg. 9 of 9
The questioner about multi-threading is probably confusing multi-threading with multi-processing.

Multi-threading is running more than one process concurrently, which may or may not occur on a box with multiple real processors.

Multi-processing refers to being able to run code on more than one real processor concurrently.

Typically, as in the above example, if one sees cpu on a 2-way box topping out at > 50%(100% of one real proc), but well below 100%, that can indicate that the code is not able to run on multiple procs; in effect, the code is not multi-processing. I believe that might be the case here. In this case, even tho the box has two procs on it, only one can effectively be used by IQFeed.

Note that Windows would be multi-processing, so Win can dispatch(run) -other- processes just
fine and drive up cpu in this example towards 100%(of two procs), but IQFeed will max at using just one proc.

I do Performance Analysis/Tuning on large mainframe boxes and see this all the time. Quite
common to see a database app 'hit the wall', even tho the box is not running full. LOTS of
apps will only run on one proc, cuz it's more complicated coding 'em up to utilize > 1 proc.

In this type of situation, you're only recourse is to lower the workload(bad) or get a box with
higher mips rated procs on it.
 

 

Time: Sat May 18, 2024 2:26 AM CFBB v1.2.0 10 ms.
© AderSoftware 2002-2003