Comments (4)
pgstrom_shmem_zone_block_free()が未使用ブロック同士を併合するロジックの中で、
例えば 0 - 7 番目のブロックが
0-1 Free
2-3 Active
4-7 Active -> Free
状態の時に、4-7ブロックとペアになるブロック列0-3をチェックし、その先頭ブロックの状態
だけを確認して 0-7 をFree状態にするロジックを発見。
現在修正中。
from pg-strom.
250c8db に修正を入れました。
上記バグが原因だと並列実行は関係ありませんが、再現をトライしてみてください。
テストに使ったクエリは以下の通りです。
select count(*) from (select pgstrom_shmem_free(p) from (select pgstrom_shmem_alloc((random() * 1000000)::int) p from generate_series(1,100000) order by random()) as foo where p > 0) as var;
from pg-strom.
250c8db で再現するかを確認しました。
10並列まで試して再現しませんでしたので、修正できたと判断します。
from pg-strom.
ありがとうございます。
後で発現すると厄介なバグになりかねない場所なので、早期発見できてよかったです。
from pg-strom.
Related Issues (20)
- [GPU ERROR Bug] A Sepcial SQL Brings GPU Errors ( SELECT (length(<column>) IN (<decimal>, <decimal>))::INT FROM <table> CROSS JOIN <table> WHERE length(<column>) IN (<column>) ) HOT 1
- [ERROR Bug] A Sepcial SQL Brings Errors ( SELECT * FROM <table> LEFT OUTER JOIN <table> ON FALSE CROSS JOIN (SELECT * FROM <table> WHERE TRUE ORDER BY <column> ASC, <column> DESC) AS sub ) HOT 1
- [ERROR Bug] A Sepcial SQL Brings Errors ( SELECT * FROM <table> RIGHT OUTER JOIN <table> ON (<column>::INT) IS NULL ) HOT 1
- [ERROR Bug] A Sepcial SQL Brings Errors ( SELECT ((<column> BETWEEN SYMMETRIC <integer> AND <integer>)OR((<decimal>::MONEY) IN (CAST(<decimal> AS MONEY), CAST(<decimal> AS MONEY)))) FROM <table> WHERE (<column>) BETWEEN SYMMETRIC (<integer>) AND (<column>) ) HOT 2
- [GPU ERROR Bug] A Sepcial SQL Brings Errors ( SELECT ('<interval>'::int4range), <column>::INT FROM <table> WHERE (<column>!=<column>) ) HOT 2
- [Logic Bug] A Sepcial SQL Brings Errors ( SELECT * FROM <table> WHERE (<column> IS NOT DISTINCT FROM <column>) IS TRUE ) HOT 2
- [GPU Logic Bug] A Sepcial SQL Brings Errors ( SELECT <column> FROM <table> WHERE <column> BETWEEN SYMMETRIC <column> AND (<decimal>::MONEY) ) HOT 4
- [Logic Bug] A Sepcial SQL Brings Errors ( SELECT * FROM <table> WHERE <column> BETWEEN <column> AND (CAST(<decimal> AS MONEY)) ) HOT 1
- [Logic Bug] A Sepcial SQL Brings Errors ( SELECT * FROM <table> WHERE ( (<column> is null )::INT IS NOT DISTINCT FROM <column>) OR <column> ) HOT 1
- Compile ERROR HOT 7
- (VTJ-JP) heterodb-extra 5.xで旧製品のライセンスが無効化されてGDSが利用できなくなる HOT 6
- (VTJ-JP) PG-Strom 5.x + PostgreSQL 16 Not working
- (VTJ-JP)Crash on select count, max, min, sum HOT 15
- Got wrong value: float2 + float2 HOT 2
- Question about GPU_Cache HOT 1
- (VTJ-JP)gpu_service error when running starschema benchmark HOT 3
- (VTJ-JP)Crash on select count, max, min, sum With Multi GPUs HOT 9
- (VTJ-JP)JOIN results are not consistent With Multi GPUs HOT 3
- (VTJ-JP) ライセンスファイルに記載されていないGPUがPG-Strom GPU Serviceによって使われてしまう HOT 1
- (VTJ-JP)A query with JOIN causes crash(xpu_common.cu:1260) HOT 4
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 pg-strom.