/srv/irclogs.ubuntu.com/2010/07/05/#ubuntu-kernel.txt

=== rsalveti-afk is now known as rsalveti
=== rsalveti is now known as rsalveti-afk
=== rsalveti-afk is now known as rsalveti
=== rsalveti is now known as rsalveti-afk
=== rsalveti-afk is now known as rsalveti
=== rsalveti is now known as rsalveti-afk
=== rsalveti-afk is now known as rsalveti
=== rsalveti is now known as rsalveti-afk
=== rsalveti-afk is now known as rsalveti
=== rsalveti is now known as rsalveti-afk
=== rsalveti-afk is now known as rsalveti
=== rsalveti is now known as rsalveti-afk
warewolfwow05:30
warewolfer05:30
rocky_IITMHi all...Can anyone let know what is the maximum memory that can be allocated for a kernel module in x86_64????06:19
rocky_IITMWhat is the maximum memory that can be allocated to a kernel module in x86_64 bit system??06:45
lifeless-1 I presume06:45
rocky_IITMI didnot get  -1??06:46
RAOFIs there any reason to expect that a kernel module should be limited in the amount of memory it can allocate on an x86_64 system?06:47
ikepanhcI did not aware of any limitation for single module, but I know there are limits for kmalloc06:48
ikepanhcIIRC for x86 it is 128k, if you need memory more then 128k06:49
ikepanhcyou need to use get_free_page06:49
rocky_IITMI need to allocate static memory... need to create queues of total size 2 GB...but memory allocation failing...06:50
ikepanhcwhat kernel API you use?06:50
rocky_IITMI m using rvmalloc().06:52
ikepanhcfor 2G buffer, you need to use get_free_pages() and manage them.06:53
ikepanhcits almost impossible to ask kernel to arrange 2G not-fragment-dram for you06:53
rocky_IITMok i will try that...06:54
rocky_IITMI was able to do for 1 GB... after that it was failing..06:55
lifelessthe idea of 2GB in-kernel terrifies me.06:56
lifelessJust saying.06:56
rocky_IITMyah its true... actually trying to write a kernel module for high speed packet processing..06:57
rocky_IITMlots of processing required in kernel and need to buffer the packets...06:57
RAOFThat's a seriously huge buffer!  Is processing so slow?07:00
rocky_IITMyah but traffic rate is also high... 5gbps..07:02
lifelessthat doesn't mean you have to be inkernel07:02
lifelessyou just have to pass out sensible regions to userspace - lots of work on efficient userspace drivers/processing has been done07:02
rocky_IITMyah I am trying to do that also... but getting drop in the card level... userspace copying also is a bottleneck07:04
rocky_IITMI am getting drop in nw driver level..07:05
ikepanhcIIRC the bottom neck for 5gbps data flow is not usually on content switch, its usually on processor frequency07:05
lifelessrocky_IITM: hand out entire pages, no copying involved surely.07:06
rocky_IITMyah true... what we are trying is to create a multi-threaded driver and process it in different cores...07:08
lifelessyou will make things a lot more robust if you're only privileged when you *need to be*.07:08
rocky_IITMIs there any maximum limit to vmalloc_32()??07:24
rocky_IITMlifeless: Is there any maximum limit to vmalloc_32()??07:28
RAOFrocky_IITM: I don't know, but haven't you already been pointed at get_free_page?07:30
RAOFAnd isn't asking for 2GB of contiguous memory asking for your code to fail in all but the most controlled of situations?07:30
rocky_IITMhmm ic... but my system is having 64 GB of RAM... so why its not possible to do contiguous memory allocation??07:33
lifelessfragmentation07:35
lifelessonly takes 33 widely separated pages and you can't do any single 2G allocation07:35
rocky_IITMsee ours is not a single allocation... we are trying to create queue... each node is of 16KB and the total size of the queue is 2GB07:40
lifelessthen why are you asking if there is a limit to the allocation facility of a single call?07:42
rocky_IITMlifeless: see when we are crossing 1 GB the allocation is failing...and we are not quite sure where is the problem07:43
RAOFSo, after you've allocated 134217728 separate 16KB memory blocks it then starts to fail?07:45
rocky_IITMwhen I have allocated 16KB * 65536 nodes then further allocation fails07:47
rocky_IITMRAOF: when I allocate 65536 seperate 16KB blocks then it starts to fail07:49
TeTeTsmb: sorry, but I could not test the gobi loader patch last week - the hardware was already sent back08:10
smbTeTeT, Well, as long as there is no testing the changes will be simply on hold.08:11
TeTeTsmb: understood08:11
* apw yawns08:45
* smb lazily waves08:46
cooloneyapw and smb morning08:47
apwhiya  cooloney 08:49
* smb moans. Ok, children in the kindergarten sing songs, but why does that need amplifying?08:53
amitksmb: you're running a kindergarten at home?08:54
smbamitk, No, there is just one close by. And today they seemed to have "escaped"08:54
amitkopen windows, nice weather and all that, then08:55
smbyup08:55
krautmoin09:04
smbmoin09:04
salvaranehello 10:09
salvaraneI compiled a kernel 2.6.29 patched rtai for lucid but when I reboot the mouse and keybourd not work10:11
salvaranehello10:17
salvarane<salvarane> I compiled a kernel 2.6.29 patched rtai for lucid but when I reboot the mouse and keybourd not work10:17
=== amitk is now known as amitk-afk
apwsalvarane, what is rtai10:45
=== smb is now known as smb-afk
=== amitk-afk is now known as amitk
salvarane<apw> realtime for linux + emc2 cnc control11:50
apwsalvarane, where did you get the kernel configuration you used to build it?11:52
salvarane<apw> /boot/config-2.6.32-23-generic-pae ; make oldconfig 11:59
apwsalvarane, you might try the config from a version of ubuntu before 2.6.29, jaunty for example ... as the config may have changed between versions of the upstream kernel12:02
apwsalvarane, you might also want to try a 2.6.29 kernel from the mainline builds, and see if the keyboard works there12:02
salvarane<apm> thanks , how can I download in synaptics a kernel 2.6.29 ?12:21
salvaranefor ubuntu 12:21
salvaranein this manner I copy config file for my kernel rtai12:21
salvaraneif all function's very well12:22
=== smb-afk is now known as smb
ddd_anyone knows : /usr/bin/ld: skipping incompatible /lib/libc.so.6 when searching for /lib/libc.so.6 ,  how to fix?12:52
=== rsalveti-afk is now known as rsalveti
* abogani waves12:58
aboganiapw, May i disturb you for a minute? :-)12:59
lagQuestion:13:25
lagI am trying to populate the platform_driver struct13:25
lagi.e.13:25
lag.probe13:25
lag.release13:25
lagI am doing so from arch code13:26
lagHow do I 'see' the module's symbol?13:26
lagI've tried to EXPORT_SYMBOL it and in the arch prototype I have declared it as an extern13:26
lagIdeas on a postcard13:27
=== rsalveti-afk is now known as rsalveti
tseliotapw: does Maverick's kernel have a known I/O eating CPU issue?14:38
ograshoudl we add one if there isnt one ? :)14:38
tseliotheh14:39
tseliotmy icore 7 feels like an old 386 when extracting packages, etc.14:39
tjaaltonthat's a dpkg issue14:44
tjaaltonaiui14:44
tjaaltonit's syncing the disk all the time14:44
tjaaltoni'm more fed up with the gnome-help taking 45 seconds to start..14:46
tjaaltonand that's not a kernel problem, so I'll leave it there ;)14:46
tjaaltonor, I don't think it is..14:46
tseliottjaalton: ah, I know who I can bug about dpkg :-D thanks14:47
tjaaltonit was a deliberate decision iirc..14:48
ograi think it only happens with ext414:50
tjaaltonyeah14:50
ograand is an issue with fsync calls14:50
tseliotdo you know what's the relevant bug report?14:51
ogramust be in the lucid release notes somewhere 14:51
tjaaltonprobably14:51
tseliotI've never had this problem in lucid with ext414:52
ograhttps://wiki.ubuntu.com/LucidLynx/ReleaseNotes#Performance regressions with ext4 under certain workloads14:52
ograbug 570805 it seems14:53
ubot2Launchpad bug 570805 in dpkg (Ubuntu Lucid) (and 3 other projects) "[regression] dpkg's fsync causes massive regression in Ubuntu Server and Alternate installation times (affects: 16) (dups: 1) (heat: 125)" [High,Fix committed] https://launchpad.net/bugs/57080514:53
ograhttps://bugzilla.kernel.org/show_bug.cgi?id=1591014:53
ubot2bugzilla.kernel.org bug 15910 in ext4 "zero-length files and performance degradation" [Normal,New]14:54
tjaaltonwhee, seems like a fix is coming14:54
tseliotmaybe I/O is worse in maverick and this is why I'm noticing the problem now14:54
kaushalhi15:25
apwhi15:34
kaushalapw, hi15:48
kaushalPlease guide me about my post on https://lists.ubuntu.com/archives/ubuntu-server/2010-July/004402.html15:49
apwhi15:49
apwkaushal, did you try the preseed change recommended in the email you are replying to there?15:50
kaushalapw, I am using ks.cfg kickstart file15:50
apwkaushal, and did you try the > d-i base-installer/kernel/override-image string linux-server15:51
kaushalapw, as i said i dont use the preseed method at all15:52
kaushalI use kickstart method15:52
apwhrm, you have already left my area of expertise :/ ... you probabally need to ask if that file can change the kernel, i would ask on #ubuntu-devel, the installer folk mostly hang out there15:53
kaushalah ok15:53
kaushalThanks apw 15:53
apwnp15:53
kaushalapw, is there a mailing list for ubuntu-devel ?15:55
apwi think if you are emailing them there is an ubuntu-installer list15:56
apwi would ask on #ubuntu-devel first15:56
apwkaushal, you give very few hints as to what your problem is from your irc request, which makes it hard for the right person to know what you need15:57
apwkaushal, looks like you got your answer on #ubuntu-devel ...16:05
kaushalapw, sure16:05
=== bjf is now known as bjf[afk]
=== rsalveti is now known as rsalveti-lunch
tseliotit turns out that my partition was busted. No I/O issues with the kernel17:10
=== amitk is now known as amitk-afk
apwtseliot, thats good news17:46
* tseliot nods17:47
=== rsalveti-lunch is now known as rsalveti
=== rsalveti is now known as rsalveti-afk

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!