tin tức Microsoft và Google tranh cãi về cách giúp Chromium bớt ăn RAM

Masterchiefs

Thành viên tích cực
Microsoft đề xuất một phương án giúp giảm đến 27% lượng RAM mà Egde Chromium sử dụng và phương án này có thể dùng cho các trình duyệt Chromium khác như Chrome nhưng Google hiện đang từ chối phương án này do nó sẽ làm trình duyệt Chromium ngốn thêm 6-13% CPU
5RqFJEX.png



The feature would have a significant impact on memory usage, with Microsoft claiming up to a 27 percent reduction.

Last month, Microsoft blogged about a new feature in the May 2020 update for Windows 10 that could dramatically reduce how much RAM its Edge browser uses, with internal tests showing up to 27 percent less. It sounded great, but it will have to wait—Google has decided to disable the feature in Chromium, the underlying architecture powering Edge and its own Chrome browser.

The feature is a way of managing RAM in Windows, called segment heap. And initially, Google seemed excited about the development as well, noting that early testing "suggests that this could save hundreds of MB in the browser... with the greatest savings coming on many-core machines."

So, what happened? Google's Chromium team decided to disable the feature after an Intel engineer discovered there's a potentially unfortunate trade off—increased CPU usage. Specifically, the engineer noted performance hits of up 6.2 percent in a series of browser benchmarks, on a test system equipped with a Core i9 9900K (one of the best CPUs for gaming, no less).

Following up on this, a Google engineer found that the segment heap feature could negatively impact performance by even more, as much as 13 percent.

This is where Google and Microsoft find themselves at odds with one another. Google is concerned enough that it decided to disable the feature for the time being, while Microsoft maintains the memory savings are worth the CPU hit.

"It is common practice to trade one resource for another. More often it's increased memory usage for reduced CPU usage. In this case it's increased CPU usage for dramatically reduced memory usage, or more accurately commit," a Microsoft engineer replied to an ongoing thread on the matter.

The engineer also noted that the only two viable options are to make significant changes across the the entire browser codebase—which is not desirable—or improve the performance of the segment heap feature. The latter is something that only Microsoft can do, and it is investigating the matter.

"In the short term, this is a good trade off of one resource for another as memory/commit usage is a significant pain point for browser users," the Microsoft engineer added.

Further on down the thread, another contributor who is not clearly identified sided with Microsoft, telling the Chromium team they "seriously need to reconsider the plan to postpone enabling" the segment heap feature, because "the vast majority of PC users are not going to notice the CPU cost, but are being impacted in overall system performance because of the memory requirements of Chrome."

The Chromium team was unmoved by the argument. One of the Chromium engineers, Bruce, replied that the increased CPU usage could negatively impact battery life on laptops. As such, the feature is officially put on hold, though Bruce added he doesn't think it will be for long.
 
Chắc Microsoft tiên đoán AMD phổ cập 16 core 32 thread trong tương lai gần nên đi tắt đón đầu đấy mà.
Lúc đó CPU giá rẻ như cho. Không phải ngợi đâu
1yd94lR.png
Anh quên là cpu ăn nhiều nó liên quan đến tiền điện, pin của thiết bị à. ăn càng cao thì tốn càng nhiều điện.
Chưa kể intel hiệu năng bị bóp dái sau mỗi lần update win. ăn nhiều cpu đến lúc sợ chrome ko chạy nổi để mà ăn ram nữa.
 
Anh quên là cpu ăn nhiều nó liên quan đến tiền điện, pin của thiết bị à. ăn càng cao thì tốn càng nhiều điện.
Chưa kể intel hiệu năng bị bóp dái sau mỗi lần update win. ăn nhiều cpu đến lúc sợ chrome ko chạy nổi để mà ăn ram nữa.
Dăm ba đồng bạc tiền điện thì ăn thua gì so với trải nghiệm anh
1yd94lR.png

Dăm ba cái CPU của Intel không tính tiền
1yd94lR.png

thiếu ram thì còn download thêm được chứ hiện giờ đâu có chỗ nào cho download thêm CPU đâu.
Fen yên tâm. Đến lúc đó khắc có trang download CPU cho fen. Download cả core cả thread cả xung luôn nhé
1yd94lR.png
 
các trình duyệt chromium bây giờ đang ổn (trừ chrome). Không nên thay đổi gì hết
nhưng nếu có thêm lựa chọn tiết kiệm RAM thì cũng hoan nghênh, đặc biệt cho những máy cổ lỗ sĩ

có thể áp dụng phương pháp clean mem giống trình duyệt slimjet, cent browser để tiết kiệm RAM sau mỗi 10-15p
 
Ăn cpu hơn trong khi ram ăn ít hơn còn cố bênh cho được. :baffle:. Có ông nói edge lướt face cuộn trang mượt mà hơn chrome, nhưng trải nghiệm thực tế của mình nghĩ cái animation nó đánh lừa chứ lag giật mấy trang web khi cuôn trang xem nội dung lớn edge bị còn chrome thì ko. K nói láo
 
chắc lại do mấy thằng dev không não nghĩ ra cái trò này. microsoft thích thì làm nhánh riêng của chronium mà thẩm du, đừng phá chrome. chắc đây là kế phá hoại của microsoft chứ cải tiến cái quằn què gì.
 
Ăn cpu hơn trong khi ram ăn ít hơn còn cố bênh cho được. :baffle:. Có ông nói edge lướt face cuộn trang mượt mà hơn chrome, nhưng trải nghiệm thực tế của mình nghĩ cái animation nó đánh lừa chứ lag giật mấy trang web khi cuôn trang xem nội dung lớn edge bị còn chrome thì ko. K nói láo

Cuộn trang thì vẫn gọi ff bằng cụ ;) ff nó mà giải quyết được vấn đề extension thì 8-)

Gửi từ Xiaomi MI PAD 4 bằng vozFApp
 
Thì ra là lại chuyển qua bóp CPU à. Cũng căng nhỉ. Nhưng tính ra, nếu ăn RAM thì làm máy tính kém khả năng chạy Multi rõ rệt, nhất là gặp mấy phần mềm củ chuối ko chịu nhả RAM khi tắt mà hđh ko kiểm soát được.
 
Back
Top