Comparison of components in terms of performance

Need advice, between i5-6600k + Gigabyte GA-Z170 SLI and i3-8100 + MSI H310-A ​​PRO, what would you do? It is a pc intended for the game.

I've seen on cpu.benchmark that the i5 was better, but other websites say the i3 has the advantage, which puzzles me as to what is "really" better?

Thank you!

performance – OpenGL works very badly on laptop

I'm trying to write a game using C and OpenGL, I've written a rendering code and a camera, but the game is very slow, the framerate is so low (probably around 10- 15fps), however, if I run the game via Steam as a non-Steam game, my frame rate goes up to 800 immediately after loading Steam Overlay. The game works well on my computer and on my friend's laptop, even without launching Steam.

And I use Windows 10 Pro, 8GB RAM, Nvidia GTX 1050 4GB, Intel Core i5-7300HQ

Performance performance issue C ++ to Python

There is a Kattis coding problem that I tried to solve with a Python3 solution, but in the end, my code did not work fast enough and I ran out of steam to optimize my code. origin. Out of curiosity, I looked for a C ++ solution, which I tried to implement in Python, just to see if it would always run out of time, which is the case.

Can any one explain why my Python implementation of C ++ code is still slower than the original? I am also open to suggestions (mainly related to Python) on how to improve it.

My code:

while true:
line = entry ()
if line == "0":
Pause
numbers = list (map (int, line.split ()[1:]))
n = len (numbers)
p = dict.fromkeys (numbers)
for i in the range (n):
p[numbers[i]]= i

anti = False
for i in the range (1, n):
for j in the range (n - (2 * i)):
if p[j] < p[j + i]) ^ (p[j + i] >    p[j + i + i]):
anti = True
Pause
other:
continue # executed only if the inner loop is NOT broken
Pause
if anti:
print ("no")
other:
print ("yes")

C ++ solution initially accepted on which my code is based:

#understand 
#understand 
using namespace std;
typedef vector VI; vector typedef <vector > VVI;

main () {
int i, j, k, x, y, z, n;
char ch;

while (cin >> n && n) {
cin >> ch;
VIp (n);
for (i = 0; i < n; i++ ) {
            cin >> x;
p[x] = i;
}
for (i = 1; i <n; i ++)
for (j = 0; j + i + i <n; j ++)
if p[j] < p[j+i]) ^ (p[j+i] >    p[j+i+i])) goto fail;
cost << "yes  n"; Carry on;
fail: cout << << no  n ";
}
}

c ++ – "What does it take to write functions with good performance, like OpenCV?"

I've tried to implement my own sophisticated edge detector and make it as fast as possible.

I have tried to code most of the necessary functions myself and have only used the opencv as input / output.

However, the performance is not comparable to that of opencv cv :: Canny () when the size of the entrance becomes larger. Even using OpenMP on most of my loops does not make it as fast as openv. My compiled opencv includes optimization libraries like IPP, and so on.

I know that opencv functions may not be the fastest, but I still want to know what you need to write code with good performance.

Take my conv2_h_sobel () functions for example (I've separated the core sobel), is there a way to improve its performance?

conv2_h_sobel () takes as input a 2D image and a 1D kernel, then performs a convolution process.

model
void conv2_h_sobel (mat & src const, Mat & dst, const vector& core) {

// Check the settings
if (src.empty () || src.channels () == 3) {
cost << "input error conv2_h ().  n";
return;
}
if (kernel.size ()% 2 == 0) {
cout << "kernel size error conv2_h ().  n";
return;
}


// In his
if (dst.empty ()) dst = Mat (src.rows, src.cols, CV_32FC1);

int k_size = kernel.size (),
src_rows = src.rows,
src_cols = src.cols;

int offset_col = k_size / 2;
int k_idx = -offset_col;

OMP_FOR (src_rows * (src_cols - offset_col)) // automatically ignored if no openmp support is supported
for (int i = 0; i <src_rows; i ++) {
const type_src * src_ptr = src.ptr(I);
dst_type * dst_ptr = dst.ptr(I);

for (int j = offset_col; j <(src_cols - offset_col); j ++) {

float sum = src_ptr[j - 1]  * core[0];
sum + = src_ptr[j]      * core[1];
dst_ptr[j] = sum + (src_ptr[j + 1]  * core[2])
}
}

};

[EzzyTech] Dedicated Performance Server – Multiple datacenters – Fully configurable – Protection against system attacks | NewProxyLists

EzzyTech Networks aims to provide customers with affordable, reliable and fast solutions like lightning dedicated web hosting plans. Our servers are located in the United States. We have 99.9% of SLA Uptime. Combine that with our 24/7 support, fast and friendly, and you will not be long in smiling! We offer 10% DISCOUNT for the first month on all dedicated servers.

Coupon code: DÉDIÉ10

Data Center Location:
New York City | Miami, Florida | Los Angeles, California

All of our Dedicated Server hosting packages include the following fantastic features:

✅ Technical support 24/7 (average response time is less than 30 minutes and we do not outsource) & Live Chat
✅ High performance and perpetual security
✅ 99.99% uptime guarantee
Great configuration flexibility and so much more!

Server package dedicated to the best value for money:

Intel Core i5 4570
4 x 3.20 GHz CPU
8 GB of DDR3 RAM
Hard disk storage of 250 GB
Premium Bandwidth 10 TB
Scalable IP addresses
Highly configurable
Unmanaged (fully manageable)

Price: 69.99 / month
More information | Order now!

Intel Xeon E3 1245 V2
4 x 3.40 GHz CPU
16 GB of DDR3 RAM
500 GB of hard disk storage
Premium Bandwidth 10 TB
Scalable IP addresses
Highly configurable
Unmanaged (fully manageable)

Price: 89.99 / month
More information | Order now!

Intel Xeon E3 1240 V5
4 x 3.50 GHz CPU
16 GB of ECC DDR4 RAM
1 TB of hard disk storage
Premium Bandwidth 10 TB
Scalable IP addresses
Highly configurable
Unmanaged (fully manageable)

Price: 89.99 / month
More information | Order now!

Intel Xeon E3 1240 V6
4 x 3,70 GHz CPU
16 GB of ECC DDR4 RAM
1 TB of hard disk storage
Premium Bandwidth 10 TB
Scalable IP addresses
Highly configurable
Unmanaged (fully manageable)

Price: 109.99 / month
More information | Order now!

Intel Xeon E3 1270 V3
4 x 3.50 GHz CPU
32 GB of ECC DDR3 RAM
512 GB of SSD storage
Premium Bandwidth 10 TB
Scalable IP addresses
Highly configurable
Unmanaged (fully manageable)

Price: 119.99 / month
More information | Order now!

Frequently asked question:

Ques: How long will you take to deliver the server?
Years: We take 48 hours to deliver. But normally deliver within 24 hours.

Ques: How many dedicated IP addresses will I receive with the server?
Years: Each of our dedicated servers includes 1 IP address and you can order up to 5 IP addresses with the server.
(No justification required). However, the purchase of more than 5 IP addresses may require ARIN justification.

Ques: Do you have a money back guarantee?
Years: No. For dedicated servers, we do not offer any money back guarantee.

Ques: Do you provide full root access?
Years: Yes. We do.

Ques: Do you provide protection against DDoS attacks?
Years: Yes. Each server contains protection against DDoS attacks of 20 Gbit / s. You can intensify it.

Ques: Do you provide a fully managed service?
Years: Yes. You can choose a fully managed service during configuration. You must select cPanel Control Panel in this regard.

Ques: Do you allow KVM access?
Years: Yes. We do.

Ques: Do you provide a custom configuration according to my requirements?
Years: Obviously, you can also have a server that meets your personal needs.
You can contact our support team by e-mail / ticket, phone or live chat with your needs.
and we will let you know if we have your preferences or configurations available.

If you need additional information or help, do not hesitate to contact us by mail[at]ezzytech.com

Website: https://www.ezzytech.com
Email: sales[at]ezzytech.com
Phone number: +8801711985664

Contact us:
Facebook | Twitter | Pinterest | LinkedIn

[WTS] Low Cost VPS Hosting + High Availability and Low Price: DataPacket.net | 24/7 assistance!

Since 2001, the best accommodation at the best price!

DataPacket.netThe mission of is simple, we provide the best accommodation at the best price. Price, service and support are at the forefront, our customers come first and you will see it in every service we provide. We are an experienced and professional technology partner you can rely on.

the DataPacket VPS Hosting The platform offers dedicated server, control and security features. Cheap VPS hosting with absolute reliability, free VPS management (value over $ 100 / month), guaranteed availability, and 30-day risk-free money back guarantee:

VServer (1 GB) $ 7.95 / month
Free server management
Installation within 24 hours
KVM hypervisor
1 Intel Xeon processor
50GB SSD
1 GB of RAM
1000 Mbps private network
100 Mbps public network
500 GB monthly transfer
== >> Buy now!

VServer (2 GB) $ 14.95 / month

Free server management
Installation within 24 hours
KVM hypervisor
2 Intel Xeon processor cores
100 GB SSD
2 GB of RAM
1000 Mbps private network
100 Mbps public network
1500 GB monthly transfer
== >> Buy now!

VServer (4 GB) $ 21.95 / month

Free server management
Installation within 24 hours
KVM hypervisor
4 Intel Xeon processor cores
200GB SSD
4 GB of RAM
1000 Mbps private network
100 Mbps public network
3000 GB of monthly transfer
== >> Buy now!

(Pay your bill annually and get two free months!)

Why choose us?

1) Solutions and services – DataPacket can design a strategic solution with a range of products adapted to your budget. Reliability, performance and ease of use guaranteed.
2) Recognition and awards – DataPacket is constantly recognized for its innovation in products, services and delivery, in order to contribute to the growth of its customers' activities.
3) Award-winning 24/7 support – Get world-class customer support from DataPacket. Advanced technology experts are here and eager to help you.
4) Overall cloud footprint – Advanced technology, DataPacket is a network and global data centers extended 100% cloud-based.

If you have any questions, do not hesitate to contact us:
Phone: +1 (407) 995-6628
Mail: service @ datapacket.net
Address: 401 E 1st Street # 1868 – 0080
Sanford, FL 32772
United States
Or SEND THE TICKET!

.

[US|UK|SG|AU] Cloud Hosting | UP TO 80% DISCOUNT | Aspiration Accommodation | Performance Cloud Hosting

Aspiration Hosting offers premium hosting solutions for more than 11 years!

Searching for a budget service with the lowest price, Look elsewhere as you will not find it here!

Searching for a high quality service at a reasonable price, our plans should be perfect for your needs!

To celebrate our eleventh year of operation, we manage our 11th anniversary promotion.Our anniversary promotions are an annual ritual and the 11th anniversary promotion offers the largest discounts you can get during the year with discounts of up to 80%!
We are available 24/7/365 to answer all your questions via Live Chat or Ticket.

Here are some features of our cloud web hosting: –

  • Available locations: California (WE) | London (United Kingdom) | Singapore (SG) | Sydney (UA)
  • Cloud SSD storage
  • Unmeasured bandwidth
  • Limits of generous resources
  • Free CDN Aspiration
  • Free LiteMage cache for Magento | LiteSpeed ​​Cache for WordPress, Drupal, Joomla
  • Free SSL Certificates
  • Free Web development support

The promotional codes below are valid until the 111th use (No deadline, buy it as long as it lasts.)

••••••Promotional codes ••••••

80% off – First monthly payment – Promotion code: 11th-80OFF

70% off – First quarterly payment – Promotion code: 11th-70OFF

60% off – First half-yearly payment – Promotion code: 11th-60OFF

50% DISCOUNT – First annual payment – Promotion code: 11th-50OFF

40% off – First Biennial Payment – Promotional Code: 11E-40OFF

30% DISCOUNT – First Triennial Payment – Promotional Code: 11th-30OFF

Learn more and sign up for cloud web hosting

••••••Frequently asked questions ••••••

Q: Are the discounts valid for upgrades?

Yes, customers can benefit from the same discounts for the first billing cycle if you upgrade to a higher plan. Please contact our Billing Service organize upgrades.

Q: Are the discounts valid for renewals?

No, they are not valid for renewals.

Q: Are the discounts specific or recurring?

They are only punctual because recurring discounts are not viable for us as a business. We must be profitable in the long run to provide you with a stable hosting experience.

Q: Am I still eligible for the 30 day money back guarantee if I enroll in this promotion?

Yes, you are still eligible for our 30-day money back guarantee.

Thank you.

performance tuning – How to install mysql sys_schema in mariadb 10.2.19 and later

I'm trying to understand some servers on our mariadb databases and I am trying to track the situation by installing sys_schema in mariadb 10.2 (since fromdual), which slightly modifies the schema from the git repository .

Unfortunately, this fails during installation with the message

mysql -usure -p <sys_1.5.1_57_inline.sql
Enter the password:
Error 1146 (42S02) at line 2356: The table's performance_schema.global_status & # 39; does not exist

and in reality, performance_schema.global_status does not exist.

Mariadb's documentation here does not even mention this version of mariadb (in fact, nothing later than 10.2.7 unless I'm blind), I'm not even sure to use the right version of the sys schema to try . (.57 in this case).

Has anyone managed to make it work? If so, how?

Thank you.

[WTS] 35% discount for 3 months on the dedicated servers of Centohost.com + IPv6 Ready + Free installation!

Are you interested in High-end dedicated server hosting services?

CentoHost has been one of the leading providers of web hosting services since 2002. We use the latest Dell server technology in our own data center to ensure our customers get the best performance from their websites. Our wide selection of web hosting services will meet your hosting needs, whether you are doing a small, simple website or a high-traffic, high-traffic website. Our main goal is to provide the best available technology with outstanding customer support. A broad customer base accompanies a wide range of web hosting needs. We have adapted our business to these needs by providing flexible and scalable services.

SPECIAL OFFER: first 3 months – 35% discount

Our dedicated servers are located in own data center in Europe – Bosnia and Herzegovina. You will get access to the serial console with performance servers. In addition, you will be able to install and customize applications.

Our features:

  • Unmeasured bandwidth
  • Free DDoS protection
  • IPv6 ready
  • Free installation
  • Free hardware RAID
  • Quick setup
  • Dell PowerEdge Servers
  • DDR3 ECC RAM
  • Guaranteed resource
  • Server monitoring
  • Remote restart
  • Single and dual CPU

Take a look at Centohost Dedicated servers of entry-level:
Start with a dedicated server within your budget – (Unlimited bandwidth + Free DDoS protection + Ready for IPv6 + Free configuration)

PE-R320 server package
Six Core Xeon E5-2420v2
Speed ​​- 6 cores x 1.9 GHz
Memory – 16 GB of DDR3
HDDs – 2 TB (2 x 1 TB SATA3)
Bandwidth – without counter
PRICE – $ 129 / month – $ 83.85 / month – ORDER NOW

PE-R320 server package – 2
Six Core Xeon E5-2440
Speed ​​- 6 x 2.4 GHz cores
Memory – 16 GB of DDR3
HDDs – 2 TB (2 x 1 TB SATA3)
Bandwidth – without counter
PRICE – $ 144 – $ 93.60 / month (35% discount for 3 months) – ORDER NOW

You can also consult Centohost Servers dedicated to performance:
More powerful servers for medium and large projects – (Unlimited bandwidth + Free DDoS protection + Ready for IPv6 + Free configuration)

R610 PE Server Package – 1
2 x 6 cores Xeon X5650
Speed ​​- 12 cores x 2.7 GHz (+ HT)
Memory – 32 GB of DDR3
HDDs – SAS 2 TB (2 x 1 TB SATA) SAS optional
Bandwidth – without counter
PRICE – $ 243 – $ 157.95 / month (35% discount for 3 months) – ORDER NOW

R610 PE Server Package – 2
2 x 6 cores Xeon X5670
Speed ​​- 12 cores x 2.93 GHz (+ HT)
Memory – 32 GB of DDR3
HDDs – SAS 2 TB (2 x 1 TB SATA) SAS optional
Bandwidth – without counter
PRICE – $ 259 – $ 168.35 / month (35% discount for 3 months) – ORDER NOW

PE-R710 server package – 3
2 x 6 cores Xeon X5670
Speed ​​- 12 cores x 2.93 GHz (+ HT)
Memory – 32 GB of DDR3
HDDs – SAS 2 TB (2 x 1 TB SATA) SAS optional
Bandwidth – without counter
PRICE – $ 274 – $ 178.10 / month (35% discount for 3 months) – ORDER NOW

PE-R620 server package
2 x 8 cores Xeon E5-2670
Speed ​​- 16 cores x 2.60 GHz (+ HT)
Memory – 64 GB of DDR3
HDDs – SAS 2 TB (2 x 1 TB SATA) SAS optional
Bandwidth – without counter
PRICE – $ 369 – $ 239.85 / month (35% discount for 3 months) – ORDER NOW

Included with dedicated server:
Quick configuration (In most cases, our servers will be ready in just 4 hours after your order)
IPv4 and IPv6 network (All dedicated servers include an IPv4 address and an IPv6 network connection)
Uncontrolled traffic (All our dedicated servers come with unmeasured data transfer)
No installation price (All our dedicated servers have a totally FREE configuration, even if you pay every month)
Free DDoS protection (All dedicated servers in our offer are protected by an advanced protection system against DDoS attacks)
Free hardware RAID (We offer a FREE hardware RAID controller with all our performance servers)

=== >> Write to us:
Centohost LLC
7260 W. Azure Dr Ste 140-796
Las Vegas, NV 89130, United States
E-mail: info@centohost.com
Phone: + 1-702-323-3802
Fax: + 1-702-323-3844

You do not know which plan suits you best?
No problem. Send us a ticket with your questions and we will contact you with a quote. Free.

.

mysql – how to improve the performance of this query

I have an application that runs this query next

SELECT SQL_NO_CACHE p. *
product_shop. *
stock.out_of_stock,
IFNULL (quantity stored, 0) as a quantity,
MAX (product_attribute_shop.id_product_attribute) id_product_attribute,
product_attribute_shop.minimal_quantity AS product_attribute_minimal_quantity,
pl.`description`,
pl.`description_short`,
pl.`available_now`,
pl.`available_later`,
pl.`link_rewrite`,
pl.`meta_description`,
pl.`meta_keywords`,
pl.`meta_title`,
pl.`name`,
MAX (image_shop.`id_image`) image_id,
il.`legend`,
m.`name` AS manufacturer's name,
cl.`name` AS category_default,
DATEDIFF (product_shop.`date_add`, DATE_SUB (NOW (),
INTERVAL 200
DAY))> 0 AS NEW,
product_shop.price AS order price
FROM `ps_category_product` cp
LEFT JOIN `ps_product` p
ON p.`id_product` = cp.`id_product`
INNER JOIN ps_product_shop product_shop
ON (product_shop.id_product = p.id_product AND product_shop.id_shop = 1)
LEFT JOIN `ps_product_attribute` pa
ON (p.`id_product` = pa.`id_product`)
JOIN LEFT ps_product_attribute_shop product_attribute_shop
ON (product_attribute_shop.id_product_attribute = pa.id_product_attribute AND
product_attribute_shop.id_shop = 1 AND product_attribute_shop.`default_on` = 1)
JOIN LEFT ps_stock_available stock
ON (stock.id_product = p.id_product AND
stock.id_product_attribute = IFNULL (`product_attribute_shop`..id_product_attribute, 0) AND
stock.id_shop = 1 AND stock.id_shop_group = 0)
JOIN LEFT `ps_category_lang` cl
ON (product_shop.`id_category_default` = cl.`id_category`
AND cl.`id_lang` = 1 AND cl.id_shop = 1)
JOIN LEFT `ps_product_lang` pl
ON (p.`id_product` = pl.`id_product`
AND pl.`id_lang` = 1 AND pl.id_shop = 1)
LEFT JOIN `ps_image` i
ON (i.`id_product` = p.`id_product`)
JOIN LEFT ps_image_shop image_shop
ON (image_shop.id_image = i.id_image AND image_shop.id_shop = 1 AND image_shop.cover = 1)
LEFT JOIN `ps_image_lang` it
ON (image_shop.`id_image` = il.`id_image`
AND il.`id_lang` = 1)
LEFT JOIN `ps_manufacturer` m
ON m.`id_manufacturer` = p .`id_manufacturer`
WHERE product_shop.`id_shop` = 1
AND cp.`id_category` = 26655
AND product_shop.`active` = 1
AND product_shop.`visibility` IN ("both", "the catalog")
GROUP BY product_shop.id_product
ORDER BY cp.`position` asc
LIMIT 0,12

And I would like to improve its performance but I do not know where to start.

From what I see in all the tables attached, there are indexes for primary keys, but the problem comes from creating a temporary table that takes about 3 seconds to copy data.

Here is the result of profiling

Here is the result of explaining

Any ideas how can I address this problem and improve performance?

The hardware specifications are

Intel (R) Core (TM) i7-8700 CPU at 3.20 GHz
64 GB of RAM
1To Pci-E NVME DISK