Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
rozdmuchany kod & gok, /dev/js0 i udev
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
sir_skiner
Apprentice
Apprentice


Joined: 03 Mar 2004
Posts: 282
Location: Poland

PostPosted: Mon May 10, 2004 5:44 pm    Post subject: rozdmuchany kod & gok, /dev/js0 i udev Reply with quote

witam
2 sprawy mam

1. wreszcie ustawilem sobie X i gnome - wchodze wszystko cacy, patrze i zonk - zajete 270mb ram, az zglupialem! ktore flagi mogly mi tak rozdmuchac kod?
Quote:
CFLAGS="-O3 -march=athlon-xp -s -pipe -fomit-frame-pointer -finline-limit=1200 -falign-functions=64 -falign-loops=16 -falign-jumps=16 -falign-labels=1 -fprefetch-loop-arrays -mpreferred-stack-boundary=4 -mfpmath=sse,387 -maccumulate-outgoing-args -DNDEBUG -DG_DISABLE_ASSERT -minline-all-stringops -mno-push-args -ftracer -fforce-addr"
CXXFLAGS="${CFLAGS}"


2. gok - www.gok.ca
uzywam tego cuda bo inaczej nie dalbym rady pracowac, a ten mi sie domaga /dev/js0 i praktycznie nie dziala
co to za urzadzenie to /dev/js0 i jak zrobic aby udev je tworzyl?
_________________
sir_skiner
GentooLinux - thinking best ;)
Back to top
View user's profile Send private message
zytek
Apprentice
Apprentice


Joined: 06 Feb 2004
Posts: 233
Location: Poland, Ostrów Wlkp.

PostPosted: Mon May 10, 2004 6:31 pm    Post subject: Re: rozdmuchany kod & gok, /dev/js0 i udev Reply with quote

sir_skiner wrote:
witam
2 sprawy mam

1. wreszcie ustawilem sobie X i gnome - wchodze wszystko cacy, patrze i zonk - zajete 270mb ram, az zglupialem! ktore flagi mogly mi tak rozdmuchac kod?


Pokaż wynik free -m to zobaczymy.. może po prostu dużo masz w cache ?
Back to top
View user's profile Send private message
tokoloshe
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jul 2003
Posts: 116

PostPosted: Mon May 10, 2004 6:58 pm    Post subject: Reply with quote

-O3, to jest wysoka optymalizacja, ktora miedzy innymi polega na rozwijaniu petli, strzelam ze to ona.
Back to top
View user's profile Send private message
fallow
Bodhisattva
Bodhisattva


Joined: 08 Jan 2004
Posts: 2208
Location: Poland

PostPosted: Mon May 10, 2004 8:03 pm    Post subject: Reply with quote

hello :)
ja tez korzystam z -O3 i binarki mi sie nie rozrastaja
-O3 rozni sie od -O2 tym , ze sa dodatkowo ustawione -finline-functions, -fweb and -frename-registers.

moim zdaniem , to te flagi nie powinny powodowac tak makabrycznego pamieciozerstwa , -finline-limit=1200 a standardowo jest 600 , wiec nie jest znow tak b.duzo , -falign-labels=1 jest rownoznaczny z -fno-alignlabels , dla x86 -mpreferred-stack-boundary takze standardowo jest rowny 4 , wiec tak jak by nie bylo ustawione

chyba najbardziej powieksza kod -minline-all-stringops i -fprefetch-loop-arrays , tej ostatniej takze uzywam i wszystko ok

moze to czym sprawdzasz dostpena pamiec nie pokazuje jej prawidlowo prawidlowo :) ? u mnie np. niektore rzeczy takie jak karamba pokazuje ze mam zajete 230mb z moich 256 , a tak naprawde mam wolnego 120mb....

pozdro :)
_________________
"Time is a companion that goes with us on a journey. It reminds us to cherish each moment, because it will never come again. What we leave behind is not as important as how we have lived" J-L. Picard ;)
Back to top
View user's profile Send private message
lysek
n00b
n00b


Joined: 10 May 2004
Posts: 57

PostPosted: Mon May 10, 2004 8:23 pm    Post subject: Reply with quote

czesc.
/dev/js0 to joystick :D .


pozdro.
Back to top
View user's profile Send private message
OBenY
Guru
Guru


Joined: 15 Feb 2004
Posts: 552
Location: Poland -> Wroclaw

PostPosted: Tue May 11, 2004 6:41 am    Post subject: Reply with quote

-malign-all-stringopts - jest wlaczane domyslnie.dla i386 i wyzej
_________________
Linux registered user: #205241
KDE registered user: #1919
http://obeny.obeny.net
Back to top
View user's profile Send private message
sir_skiner
Apprentice
Apprentice


Joined: 03 Mar 2004
Posts: 282
Location: Poland

PostPosted: Tue May 11, 2004 12:36 pm    Post subject: Reply with quote

wiec tak:
1. jesli chodzi o kod to chyba faktycznie zrobilem zly pomiar - jeszcze zobaczymy

2. tu niestety jest cos zle
kiedy probuje tym GOK coc napisac segfaultuje mi...
w .xsession-erros man cos takiego
Code:
(gok:7101): GLib-GObject-WARNING **: invalid cast from `GtkImage' to `GtkToggleButton'

(gok:7101): Gtk-CRITICAL **: file gtktogglebutton.c: line 385 (gtk_toggle_button_get_inconsistent): assertion `GTK_IS_TOGGLE_BUTTON (toggle_button)' failed

to jest dla mnie niezmiernie wazna sprawa - bez tego programu nie moge nic napisac, wydac polecenia, slowem nic nie moge
pomozcie
_________________
sir_skiner
GentooLinux - thinking best ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum