Comments (5)
Are you sure you can run 4 threads on your machine? However, the memory consumption shouldn't be that high. I will do some tests.
If you are in linux, run lscpu. Then to obtain the total number of threads consider the nex info:
Threads(s) per core: 2
Core(s) per socket: 4
Socket(s): 1
In this example, you can run max. 2x4x1 = 8 threads
from largevis.
Are you using the python wrapper for your test?
from largevis.
In my machine, 8 x Intel(R) Xeon(R) CPU E3-1271 v3 @ 3.60 GHz CondMat_network takes (Note: I used the C++ implementation directly)
2 threads: ~16m 27s
4 threads: ~8m 12s
8 threads: ~5m 33s
All of them using 391mb RAM.
The algorithm is CPU intensive, so it is OK a 90-100% CPU usage.
from largevis.
Thanks, the numbers that you gave in the last comment are comparable to mine, when taking into account number of cores/processor_speed/ number_of_threads.
For the other questions: I used the c++ implementation directly (no python wrapper). The first comment was not clear from beginning to end, but in principle you can run a large number of threads on any machine (unless limited by application). However, after a certain number of threads the performances will degrade due to ''context switch'' time. In my case with 2 threads the CPU was under-utilized so I tried 4 and it was fully utilized (and the program ran faster).
from largevis.
I will close this for now, as it is not really an issue. It is more important that it is efficient on large datasets (compared to bh-tSNE).
from largevis.
Related Issues (20)
- KNN-graph as file HOT 1
- Is this the official reference implementation? HOT 1
- LargeVis.cpp:351:48: warning: format specifies type 'int' but the argument has type 'long long'
- Duplicates?
- Windows install error: command '…\Microsoft Visual Studio 10.0\\VC\\BIN\\cl.exe' failed with exit status 2
- running build_ext error: [WinError 2]
- Only installs on Python 2 HOT 4
- Any recommendations to run this distributed (Spark) ? HOT 2
- Speed Improvements HOT 5
- Installation failed on Windows 10 (Python 2.7 and 3.6)
- The node-sequence of original feature is consistent with the generated 2-D vectors or not???
- What's the complexity of LargeViz to the dimension of data points?
- Option to specify random seed
- Adding points
- How to Keep Consistence in Asynchronous Stochastic Gradient Descent
- how to import LargeVis, when run the LargeVis_run.py,ModuleNotFoundError: No module named LargeVis HOT 3
- Why is the number of nodes in 2D vectors reduced?
- mac unable to install
- Largevis doesn't read the complete edgelist (Run using cpp)
- MacOS install error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from largevis.