|
|
Choosing A Webhost: |
RE: Solaris/AMD64 - RTESys_MemoryBarrier.s + Coroutines: msg#00213db.maxdb
> >Is the reason maybe an unimplemented assembler function in > >RTESys_MemoryBarrier.s? I used the "dummy" function provided in > >SPARC32... > > Try the inline assembler from the Linux/x86_64 port > (translated to S10 syntax). > > /* from RTESys_MemoryBarrier.h */ > #elif defined(LINUX) && defined(X86_64) > > /* from #include <asm-x86_64/system.h> mb(),rmb(),wmb() definitions */ > > # define RTESys_MemoryBarrier() __asm__ > __volatile__("mfence":::"memory") > # define RTESys_ReadMemoryBarrier() __asm__ > __volatile__("lfence":::"memory") # define > RTESys_WriteMemoryBarrier() __asm__ __volatile__("sfence":::"memory") > > The developer who did the Linux/x86_64 port has vague > memories that there were also problems using a dummy implementation. Inline is not working unfortunately, that's what I tried, because the syntax is different. Instead I have done something like &if $MACH == AMD64 and $OSSPEC = SVR4 .file "RTESys_MemoryBarrier.s" .text .globl RTESys_MemoryBarrier .align 4 .globl RTESys_ReadMemoryBarrier .align 4 .globl RTESys_WriteMemoryBarrier .align 4 RTESys_MemoryBarrier: sfence ret RTESys_ReadMemoryBarrier: lfence ret RTESys_WriteMemoryBarrier: mfence ret &endif This seems (!) to work now :-) thanx for the hint! I can now bring the database to ADMIN but only, if I disable the coroutines, with USE_COROUTINES YES, it coredumps in makecontext(), whether explicitly aligned or not. (dbx) where current thread: t@17 [1] _makecontext(0x20000103d00, 0x1, 0xfffffd7ffedcbaf0, 0xfffffd7ffedcaf94, 0x200019a9000, 0x1), at 0xfffffd7ffed4a2ac [2] _elf_rtbndr(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7fff3c7e50 =>[3] en88RunCoroutineUKT(arg = 0xfffffd7ffec872b0), line 427 in "ven88.cpp" [4] eo07_PthreadEntry(arg = 0x20000122390), line 2356 in "veo07-k.c" [5] _thr_setup(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7ffedc7b4b [6] _lwp_start(0x0, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfffffd7ffedc7d80 Greetz, SIEGENIA-AUBI KG Informationswesen i.A. Markus Döhr SAP-CC/BC, SAPDB-DBA Tel.: +49 6503 917-152 Fax: +49 6503 917-7152 E-Mail: markus.doehr@xxxxxxxxxxxxxxxxx Internet: http://www.siegenia-aubi.com > -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/maxdb?unsub=gcdm-maxdb@xxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Solaris/AMD64 - RTESys_MemoryBarrier.s, Dittmar, Daniel |
|---|---|
| Next by Date: | AW: Default for date fields ?????, Zabach, Elke |
| Previous by Thread: | Problem password dba/dbm from WebDBM, nerec79\@libero\.it |
| Next by Thread: | AW: Default for date fields ?????, Zabach, Elke |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home
| advertise | OSDir is
an inevitable website.
|